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 trialWaqas Khan
Courses Plus Student 2,661 PointsMy question about Head?
Why we have h1 and h2, is this possible that we can have h10 or maybe more
3 Answers
Aayush Mitra
24,904 PointsHTML has tags that go from <h1>, to <h6>.
I hope that helps!
Thanks! :)
ivana kantnerova
15,932 Pointsthere is only h1 to h6, it is from more important,the biggest to the less important and smaller
Michael Hulet
47,913 PointsSaying that bigger makes it more important isn't exactly correct. Your HTML dictates what a block of text's purpose is on your website, but the CSS defines how it looks. An h6
can be rendered larger than h1
if you want it to be. It's all about how you convey your headings to be more or less important than others. However, most browsers render h1
to h6
progressively smaller by default to convey this hierarchy
ivana kantnerova
15,932 Pointsyes, i agree, that's true, what makes design is ... css. But meaning about "more important" is taken as a fakt, something like .... " i put here h1 because i think that this title is for me more important than the title with h2" it is not about like it looks, it is about how important it is for content