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 trial

CSS Treehouse Club: CSS My First Web Page Introduction to My First Web Page

Oscar Lopez
Oscar Lopez
971 Points

I 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
Erik Nuber
20,629 Points

Yes, 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

http://www.w3schools.com/tags/tag_hn.asp

Oscar Lopez
Oscar Lopez
971 Points

Thank you! That's what I had thought.