Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialOscar Lopez
971 PointsI have looked at her code in this video and I was wondering if there is a default font size for each headline inserted?
h1 is the biggest headline in terms of font size but can it be changed to a smaller font size equivalent to h2? Sorry if this sounds confusing.
1 Answer
Erik Nuber
20,629 PointsYes, you use CSS styling to change the size of the fonts of any element.
h1, h2 {
font-size: 20px;
}
This page will tell you the defaults of h1-h6
Oscar Lopez
971 PointsOscar Lopez
971 PointsThank you! That's what I had thought.