Customers & growth · SEO & search marketing

Header tag hierarchy (H1-H6)

H1H2H3-H6

Use it when

Templates or long pages use headings for styling, lack a clear main heading or jump levels, and you need an outline that readers, screen readers and Google can follow.

Skip it when

  • You have not decided how content is grouped and labeled across the site. Use Information architecture framework first.
  • The page outlines are sound and important pages get few links from related pages. Use Internal linking strategy, which this feeds.
  • Titles, descriptions and headings all need fixing across a set of pages. Use On-page SEO framework for the combined pass.
  • The whole page lags the top results on content and depth. Use Content optimization framework.
  • You need every page to meet a WCAG level for keyboard, screen reader and contrast use. Use Accessibility optimization.

What to apply first and what to use instead are listed below.

Inputs

  • Template list
    Each page template, such as home, category, product and article, with one sample URL and its count of URLs, from the CMS or developers.
  • Heading outline
    Every heading on each sample page with its level and text, in page order, from a crawler or a browser outline tool, pulled this week.
  • Page titles
    The title element and the title link Google shows for each sample page on its top query.
  • Design styles
    The CSS classes or components used to make text look like a heading, from the design system or front-end team.
  • Screen reader checkOptional
    A run through each sample page by heading navigation in a screen reader, by your team or an accessibility tester.

Steps

  1. Extract the heading outline for one sample page per template and mark headings used only for size, text styled as a heading without heading markup, and empty headings.
  2. Give each template one visible main heading in an h1 that names the page topic, matches the title element, and stands out as the most prominent text.
  3. Nest the section headings by rank under the main heading, with no skipped levels on the way down. Write each heading to say what its section covers.
  4. Move size and style to CSS, turn styled text that labels a section into a real heading, and drop heading markup from text that labels nothing.
  5. Keep headings in shared regions, such as navigation, sidebars and footers, at the same rank on every page.
  6. Recheck the outline on every sample page after release, and confirm Google shows the intended title link for each.

Output

A heading outline per template, before and after, with the fixes logged and the release date.

  • Template and sample URL
  • Main heading text and its match with the title element
  • Outline before (level and text)
  • Outline after (level and text)
  • Fixes made (style moved to CSS, markup added or removed, levels changed)
  • Displayed title link after recrawl
  • Release date

Done when

  • Every template has exactly one visible h1 that names the page topic.
  • No sample page skips a level when moving to a deeper heading.
  • No heading element is used only to change text size, and no section label is styled text without heading markup.
  • Headings in shared regions hold the same rank on every template.
  • Every sample page has its after outline and its displayed title link recorded.

Measure

Recheck the outline of each template after every release that touches it, and track the count of outline errors against the first audit. Track the share of sample pages where Google's title link matches your main heading or title. Google says heading order does not affect Search, so judge this work on readers and screen reader users, through heading navigation checks and on-page engagement for the same weeks.

Hypothetical example

Bramblewood, a garden supply shop, checks five templates. Product pages have no h1, since the product name sits in a styled div, and the review count uses an h3 to look small. Buying guides jump from h1 to h4 because the h4 style matched the design. The team puts each product name in an h1, moves the review count to a styled span, and sets guide sections as h2 with subsections as h3. Sidebar headings become h2 on every template. After release the outline tool shows no skipped levels, and Google's title link for the product pages now matches the product name.

Common mistakes

  • Treating heading order as a ranking rule. Google says order does not matter for Search, so nest headings for readers and screen reader users.
  • Packing keywords into every heading. Write each heading to say what its section covers.
  • Giving several headings the same size and weight as the page title. Make the main heading the most prominent text on the page.
  • Picking a heading level for its font size. Choose the level by the outline and set the look in CSS.
  • Letting sidebar or footer headings change rank from page to page. Fix their rank once for every template.

Sources

Show all 4 sources

By company stage

  1. Pre-IdeaNot applicableThere is no content to structure yet.
  2. IdeaUsefulGood structure is cheap to apply on first pages.
  3. Early StartupUsefulClean structure helps if search is a candidate channel.
  4. StartupUsefulIt supports content scale for a second channel.
  5. GrowthUsefulContent templates and CMS usually enforce structure at this size.
  6. ScaleUsefulContent and SEO teams still apply heading structure on new pages, even when templates cover much of it.
  7. EnterpriseUsefulHeading structure is still checked by content and SEO teams across large sites as routine quality work.

Apply first

Nothing. You can start here.

Use instead

  • Information architecture framework

    You have not decided how content is grouped and labeled across the site. Use Information architecture framework first.

  • Internal linking strategy

    The page outlines are sound and important pages get few links from related pages. Use Internal linking strategy, which this feeds.

  • On-page SEO framework

    Titles, descriptions and headings all need fixing across a set of pages. Use On-page SEO framework for the combined pass.

  • Content optimization framework

    The whole page lags the top results on content and depth. Use Content optimization framework.

  • Accessibility optimization

    You need every page to meet a WCAG level for keyboard, screen reader and contrast use. Use Accessibility optimization.

Recommended resources

No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.

Progress is not saved until you have an account. Create a free account