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 trialRichard Rodis
1,112 PointsWhy h3?
Why did Nick use H3 when for the about page, it is a new page, so shouldn't H1 work?
I tried H1 and nothing came out
2 Answers
Ryan S
27,276 PointsHi Richard,
I'm not quite sure if I understand your question, but in terms of the ability to render text on the page, there is no practical difference between <h1> or <h3>, or <p>'s, or a whole bunch of other tags (there are functional differences, though). Swapping an <h1> with an <h3> will work perfectly fine. If you are experiencing issues with text not appearing then there is most likely a syntax error somewhere in your code.
If you are asking why someone would choose <h3> over <h1>, then there are a few factors which would lead to a decision. One factor is obviously the default formatting applied to all the different HTML elements. The other factors would be related to accessibility and search engine optimization. For example, <h1>'s are "more important" than <h3>'s.
Having neatly organized HTML structure with appropriate tags is not only useful for code readability, but also for things like indexing in search engines and text-to-speech software.
Hope this clears things up.
Gloria Dwomoh
13,116 PointsH1 would work too but it all depends on several things such as the sizing as well. One big difference that using h1 instead of h3 is the font size that the heading will appear in. Check this link: Heading Example