Contents
How do you use H1 H2 H3 headings?
To break it down, remember:
- H1 = Main keywords and subject matter, what the overall post is about.
- H2 = Sections to break up content, using similar keywords to the H1 tag.
- H3 = Subcategories to further break up the content, making it easily scannable.
Does NAV have to be inside header?
Many web designers consider the navigation bar to be part of the header rather than a individual component, but that’s not a requirement; in fact some also argue that having the two separate is better for accessibility, as screen readers can read the two features better if they are separate.
Does NAV go inside body?
As you can see, the element is between the tags but falls after the closing tag of the header (), not in between tags. One example of this versatility is that the tag could be inserted within the element or in any other section of the body.
When to use H1 or H2 for article titles?
As a side note, if your header is just a heading element (e.g. h1) and nothing else, then you don’t need to wrap it in a header element. While the article titles of your page are important, generally the top level heading of the page defines the content of the page.
When to use H1, H2, or H3 tags?
You use the H1 tag for your title, and then you use the H2 tag for all of your subheads. In some rare cases, you have a very deep, very in-depth post that will have sub-sub-sections. The titles of these can be in H3 tags.
In HTML5, should the main navigation be inside or outside the element? In HTML5, I know that can be used either inside or outside the page’s masthead element.
Where do you put the h1 tag in a blog post?
There’s no hard limit to the number of headings you can use. There are, however, best practices. The number one best practice to be aware of is that, in general, you should only have one single H1 tag. Generally, the H1 tag is at the top of your blog post and encloses the title.