What is headings h1-h6
Headings are one of the most important tags, because they help to properly structure the page content, thus improving the readability of the content by users and search engines.
There are 6 levels of headings (the lower the level, the lower the relevance).
Header html tags:
<h1> First level heading h1 </h1> <h2> Second level heading h2 </h2> <h3> Heading of the third level h3 </h3> <h4> Level 4 heading h4 </h4> <h5> Level 5 heading h5 </h5> <h6> Level 6 heading h6 </h6>
Recommendations for using headings <h1>...<h6>
- The <h1> heading is the main heading, it must contain most important keywords. Each page of the site should have it's own unique first-level title. It's not recommended to use more than one <h1> per page.
- The content of the <h1> and <title> tags should not be duplicated.
- Titles shouldn't be too short or long, basically no more than 80 characters.
- Be sure to use keywords in titles, no more than 2-3. At the same time, headlines should be informative and readably for users.
- Stick to a strict order of tags, <h1> should always be followed by <h2> and so on. No level must be skipped, for example <h6> cannot follow <h2>.
- Heading tags can only be used for semantic markup of text on a site page. Do not use them for decorative purposes!