What Is It?
Heading Hierarchy Rules
Heading hierarchy is a tree structure: H1 is the root, H2s are the main branches, H3s are the sub-branches. As a general rule, a page should have a single H1, H2s should carry parallel subtopics at the same level, and H3-H6 should be used sequentially beneath them.
Levels should never be skipped — jumping from H1 straight to H3 is a mistake both for semantic HTML and for accessibility. In that case, a screen reader signals 'a heading level is missing,' breaking the user's mental map of the page.
- Generally 1 H1 per page (the page's main topic)
- 2+ H2s beneath the H1 (main sections)
- As many H3s as needed under each H2 (subsections)
- No skipping: the H1 → H2 → H3 order stays intact
- Headings exist for semantic structure, not for design