SSL Checker DMARC Meta Tags Site Speed Broken Links AI Chat Bookings Try ModusOp

Published 27 April 2026

Six heading levels exist in HTML for a reason: pages have nested topics, and headings represent that nesting. The rules for using them haven't changed substantially in twenty years, but the consequences of getting them wrong now matter more than ever — accessibility audits, search rankings, and AI-driven content extraction all rely on heading structure being clean.

The good news: the rules are simple. The bad news: most websites violate them, often because of theme defaults, CMS quirks, or designers using heading tags for visual styling rather than semantic meaning. This guide covers what each heading level should contain, how to audit your site's hierarchy, and the modern conventions that make all three audiences (readers, search engines, screen readers) happy.

The One-Sentence Rule

One H1 per page; H2s for major sections; H3s for sub-sections of those sections; H4–H6 only when you need them, in nested order, never skipping levels.

That's the entire rule. Everything below is explanation and edge cases.

The H1

The H1 is the page's primary heading — the largest, most prominent description of what the page is about. Most pages should have exactly one H1, placed above the main content (typically near the top), describing the page's primary topic.

Modern HTML5 technically allows multiple H1s if they're each inside a <section> or <article> with its own outline — but in practice, most browsers, screen readers, and search engines still treat the first H1 as the page's primary heading and ignore the outline algorithm. So the safe rule is: one H1 per page.

The H1 should:

Common mistakes:

H2: Major Sections

H2s break the page into its major sections. A long article might have 5–10 H2s covering distinct topics; a product page might have H2s for "Features", "Specifications", "Reviews", "FAQ".

Rules:

If your page has H2 → H3 → H2 → H4 → H2, the H4 is wrong. It should be H3 (since the second H3 is a sub-section of an H2). Skipping levels confuses screen readers and the document outline.

H3 and Below

H3s are sub-sections of an H2. H4s are sub-sections of an H3. And so on.

Most pages don't need anything below H3. Pages with deep technical reference content (an API doc, a long-form how-to with sub-procedures) might use H4 and H5. H6 is rare; if you need H6, your content probably benefits from being split into multiple pages.

Rules:

Accessibility: Why It Matters Beyond SEO

Screen reader users can navigate by headings — pressing 'H' jumps to the next heading at any level, '2' jumps to the next H2, '3' to the next H3, etc. A page with proper hierarchy is navigable; a page with skipped levels or inconsistent nesting is confusing.

Many users with learning disabilities or cognitive impairments rely on heading hierarchy to scan and chunk content. A clean H1 → H2 → H3 structure makes pages dramatically easier to follow than walls of unstructured text.

WCAG 2.1 AA (the most common accessibility standard for compliance audits) requires headings to be used in logical order — meaning no skipping levels. Sites with bad hierarchy fail accessibility audits.

SEO: How Search Engines Use Headings

Search engines parse heading hierarchy to understand the structure of a page. A clean hierarchy helps the crawler:

The keyword presence in H1s and H2s matters less than the keyword in the title and main content, but it still contributes. More importantly, well-structured headings produce better-formatted snippets in search — which lift CTR even at the same ranking position.

Common Patterns and Anti-Patterns

Pattern: Article structure

H1: Article title (the page's main topic)
  H2: Major section 1
    H3: Sub-point of section 1
    H3: Another sub-point of section 1
  H2: Major section 2
    H3: Sub-point of section 2
  H2: Major section 3
    H3: Sub-point of section 3
      H4: Detailed sub-detail (rare)

Pattern: Product page

H1: Product name
  H2: Description
  H2: Features
    H3: Feature category 1
    H3: Feature category 2
  H2: Specifications
  H2: Reviews
  H2: FAQ

Anti-pattern: Heading levels for visual sizing

H1: Welcome (huge, looks impressive)
  H4: Some text in slightly smaller size (H4 was just for the visual)
    H2: Now we want a section heading visually styled differently

Headings should reflect document structure, not font size. Fix the CSS to style the right level appropriately.

Anti-pattern: Multiple parallel H1s

H1: Section 1
H1: Section 2
H1: Section 3

Use one H1 for the page topic; H2s for the parallel sections.

Auditing Your Site

Several ways to find heading problems:

Fixes That Cost Almost Nothing

For most sites, the heading audit produces a small set of recurring issues, all fixable in templates rather than per-page:

None of these takes more than a few hours to fix once identified. The hard part is identifying them — and a regular audit with Meta Tag Checker or a similar tool keeps the issue list small enough to action.

The Modern Mental Model

Think of your page like a textbook chapter:

If you can read just the headings of your page top-to-bottom and follow what the page is about, the hierarchy is right. If the heading-only outline is gibberish, the hierarchy is broken — and so is the page from the perspective of every reader who skims rather than reads.

Audit your heading structure

Meta Tag Checker reports the H1, H2, and H3 hierarchy on any page — instantly visible, easy to fix.

Check Your Page →