On-Page
Heading hierarchy
Also known as: H1 H2 H3 structure, semantic headings, document outline
Heading hierarchy is the structural use of H1-H6 HTML elements to organize page content. Best practice: one H1 per page (the primary topic), H2s for major sections, H3s for sub-sections, deeper levels rare. AI engines and search engines use heading structure to understand topical organization; users with screen readers rely on it for navigation. Skipping levels (H1 → H3) hurts both.
The hierarchy rules
- One H1 per page — the page’s primary topic. Should match (or closely echo) the title tag and natural language phrasing of the target query.
- H2 for major sections — the page’s primary subdivisions. AI engines often extract these as candidate questions in FAQ-style synthesis.
- H3 for sub-sections within an H2
- H4-H6 rarely needed except in very long documents
Why it matters in 2026
- AI engines parse heading structure to identify candidate “answer to X” sections
- Featured Snippets preferentially trigger when headings are formatted as natural questions
- AI Overviews extract heading-bounded sections more cleanly than free-flowing prose
- Accessibility (WCAG) requires logical heading order; screen readers navigate by headings
- User scannability — readers skim headings before deciding to read
Common mistakes
- Multiple H1s on a page (acceptable in HTML5 semantically but still penalized by SEO standards)
- Skipping levels — H1 → H3 confuses screen readers and crawlers
- Using headings for styling — making text big with H2 just because it’s styled prominently
- Title tag and H1 identical — wastes signal; H1 should be slightly different framing
- Sales-pitch H2s instead of descriptive ones — “Get started!” vs “How the program works”
Heading patterns that work for AI search
| Heading style | Effect |
|---|---|
| Natural-language question (“What is X?”) | Triggers FAQ + Featured Snippet candidacy |
| Comparison (“X vs Y”) | High AI Overview citation rate |
| Numbered list signaling steps (“3 ways to…”) | HowTo schema eligibility |
| Definitional (“X explained”) | Generic but reasonable |
| Sales copy (“Get started today”) | Wastes the slot — Google doesn’t surface these |
Related terms
Apply in practice
- Resocial service →
/services/seo/on-page-seo/ - Read on the blog →
/blog/technical-seo-vs-on-page-seo/