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

HTML

Suzanne Roys
Suzanne Roys
3,170 Points

I'm confused about the purpose of h1/h2/h3 headers...

I understand that there's a sort of hierarchy with these tags, but what's the main purpose of putting text into h1 vs h2? isn't text size controlled by CSS? What's the point of using an <h2> tag to make text smaller than the text in the <h1>?

1 Answer

It's more about structuring the priority of the content than the styling.