Header tags are the six HTML heading elements, H1 through H6, used to organise content into a hierarchy. They provide structure for readers, for search engines and for assistive technology.
The elements descend in importance from H1 to H6. Correct usage nests them logically — an H2 subdivides the H1, an H3 subdivides an H2 — without skipping levels. They are structural markup, not styling: visual size should be controlled with CSS rather than by choosing a heading level for its appearance.
Headings give search engines a map of how a page is organised and which passages answer which sub-question, which is central to how featured snippets and AI answers extract content. They are also the primary navigation mechanism for screen reader users, making correct hierarchy an accessibility requirement rather than a preference.
Structure content with a single H1 followed by H2 sections and H3 subsections in a logical order. Phrase headings as the questions readers actually ask, since this improves both scannability and extractability. Never choose a heading level to achieve a font size — use CSS for that.
Want to learn more? Explore our SEO Glossary or check out our expert guides on SEO strategies.