Home›Academy›On-Page SEO›Headings

On-Page SEO · Lesson 03 · Structure

Headings

How H1 through H6 headings organize content, communicate the structure of a page, and help users and search engines understand how different sections relate to one another.

03 On-Page SEO9 min Read timeBeginner Level

03 / Structure

Heading tags divide a page into meaningful sections. The H1 names the main topic, H2 headings introduce major sections, and H3 through H6 organize progressively deeper subtopics, creating a content hierarchy that both visitors and search engines can follow.

Where the title tag names the page in search results and the meta description summarizes it, headings describe the structure of the visible content itself. A clear heading structure makes long pages easier to scan, supports screen reader navigation, and signals how topics and subtopics relate.

This lesson covers H1 tags, H2 to H6 headings, heading hierarchy, skipped heading levels, and the document outline. It also explains how to use SiteAuditLint to find missing, multiple, duplicate, empty, and out-of-order headings across a website.

1. Why headings matter

A well-structured page normally begins with an H1 for the main topic, followed by H2 headings for major sections. H3 headings then organize supporting topics underneath an H2.

Example heading structure

H1Main topicTechnical SEO Audit
H2Major sectionCrawling
H3SubsectionCrawl Errors
H3SubsectionCrawl Restrictions
H2Major sectionIndexing
H3SubsectionNoindex Tags
H3SubsectionCanonical URLs
H2Major sectionOn-Page SEO
H3SubsectionTitle Tags
H3SubsectionMeta Descriptions
Structure, not styling

The heading structure should reflect the actual organization of the content. Heading tags should not be chosen simply to make text appear larger or smaller. Visual size belongs in CSS.

2. H1 tags

The H1 is the primary heading of a page. It should clearly describe the main subject and give visitors an immediate understanding of what the page covers. A page will commonly have one main H1:

<h1>Technical SEO Audit</h1>

A missing H1 can make the page structure less clear, particularly when no other prominent heading identifies the primary topic.

Missing H1

No element identifies the main topic of the page.

Duplicate H1s

Several H1 elements compete to name the page.

Empty H1

The element exists but contains no meaningful text.

Non-descriptive H1

The text does not describe what the page covers.

H1 used for styling

The tag is applied to make text large rather than to mark the main heading.

The H1 should work with the page title and the visible content. It does not need to exactly match the title tag.

ElementWhere it appearsExample
Title tagBrowser tab and search result title linkTechnical SEO Audit Guide | SiteAuditLint
H1Top of the visible page contentTechnical SEO Audit

3. H2 to H6 headings

H2 through H6 headings create additional levels within the page structure. An H2 normally introduces a major section, and an H3 organizes a topic within that section:

<h2>Crawlability</h2>
<h3>Robots.txt</h3>

H4, H5, and H6 provide further levels when the content genuinely requires them:

Deeper subheadings

H1Technical SEO
H2Crawlability
H3Robots.txt
H4Disallow Rules
H4Allow Rules
H3XML Sitemaps

Not every page needs all six heading levels. A short page may only need H1 and H2 headings. The goal is not to use as many levels as possible, but to create a logical structure that matches the content.

4. Heading hierarchy

Heading hierarchy shows how sections relate to one another. A logical hierarchy nests each level under the one above it:

H1
 ├── H2
 │    ├── H3
 │    └── H3
 ├── H2
 │    ├── H3
 │    │    └── H4
 │    └── H3
 └── H2

The structure should make sense when the heading text is read without the paragraphs underneath it. Each heading should describe the section that follows it. If the hierarchy becomes difficult to understand, the page structure may need to be reorganized.

Practical check

Ask one question: if the headings were the only text on the page, would a reader understand what the page covers and how its sections connect? If not, revise the headings or the structure.

5. Skipped heading levels

A skipped heading level occurs when the document jumps over a level without a clear structural reason.

Fixing a skipped level

BeforeH1: Technical SEO
H3: Crawling
The page moves directly from H1 to H3.
AfterH1: Technical SEO
H2: Crawling
H3: Crawl Errors
Each level follows the one above it.

A skipped level inside a section

BeforeH1: SEO Audit
H2: Crawling
H4: Robots.txt
Robots.txt jumps from H2 to H4.
AfterH1: SEO Audit
H2: Crawling
H3: Robots.txt
Robots.txt is a direct subsection of Crawling.

If Robots.txt is a subsection of Crawling, an H3 is normally the appropriate level.

Accessibility impact

Screen reader users often navigate by jumping between headings. Skipped levels make the document outline harder to follow and can suggest that a section is missing.

6. Content outline

The headings on a page can be viewed as an outline of the content:

H1: Technical SEO Audit

H2: Crawlability
H3: Robots.txt
H3: XML Sitemaps

H2: Indexability
H3: Noindex
H3: Canonical URLs

H2: On-Page SEO
H3: Title Tags
H3: Meta Descriptions

This outline immediately communicates what the page covers and how the topics are organized. A useful test is to extract only the headings from a page and read them in sequence. If the outline is confusing, repetitive, or missing important sections, the underlying page structure may need improvement.

7. Common heading problems

A technical SEO crawl can identify several heading-related issues.

IssueExampleWhat to review
Missing H1H2: Technical SEO Audit with no H1Whether a primary heading identifies the main topic
Multiple H1sH1: Technical SEO Audit, H1: Crawlability, H1: IndexingWhether section headings should be H2s
Duplicate headingsH1: Services on several pagesWhether each page and section has distinguishing heading text
Skipped levelsH1 then H3 then H4Whether an intermediate level is needed
Empty headings<h2></h2>Remove the element or add meaningful text
Multiple H1s are not a penalty

Multiple H1s are not automatically a search engine penalty. They become a problem when they are used without a meaningful structural reason and make the intended page hierarchy less clear.

8. Headings and page relevance

Headings provide contextual information about the content that follows them. For example:

H2: Broken Links
H3: Internal Broken Links

This hierarchy communicates that internal broken links are a specific part of the broader broken-link topic. Descriptive subheadings also make pages easier to scan: someone looking for information about internal links can locate the relevant section without reading the entire page, and headings with id attributes can serve as jump link targets in a table of contents.

VersionHeading
DescriptiveHow to find internal broken links
Keyword-stuffedBroken links SEO broken link checker broken links fix

Headings should describe real content rather than be written primarily to insert keywords.

9. Checking headings with SiteAuditLint

A website crawler such as SiteAuditLint can inspect heading structures across every crawled URL and surface pages with structural problems.

  1. Crawl the websiteCollect heading data for every URL.
  2. Find missing and multiple H1sCheck that each important page has one clear primary heading.
  3. Review duplicate headingsLook for repeated heading text that fails to distinguish pages or sections.
  4. Check the hierarchyFlag skipped heading levels and headings out of logical order.
  5. Remove empty headingsDelete empty elements or populate them with meaningful text.

Example crawl finding

FlaggedH1: SEO Audit
H2: Crawling
H4: Robots.txt
The page moves from H2 directly to H4.
CorrectedH1: SEO Audit
H2: Crawling
H3: Robots.txt
The hierarchy now matches the content.

The crawl identifies the technical condition. The SEO decision comes from understanding what each section represents.

Accurate, not just warning-free

The objective is not simply to eliminate every warning. Review the actual page structure and determine whether each heading accurately represents the content underneath it.

10. Practical exercise: Review five heading structures

Choose five important pages from a website and record the heading structure for each page. For every page, check:

  • Does the page have an H1, and does it describe the primary topic?
  • Are major sections represented by H2 headings?
  • Are H3 headings used for relevant subsections?
  • Are heading levels skipped?
  • Does the heading outline make sense when read by itself?
  • Are there empty or repetitive headings?

Then compare the heading outline with the actual page content. A good heading structure should make the page easier to understand before the supporting paragraphs are even read.

Heading checklist

0 of 10 tasks completed

11. Key takeaways

  • The H1 identifies the primary topic of the page.
  • H2 headings organize major sections.
  • H3 through H6 can organize progressively deeper subsections.
  • Heading hierarchy should reflect the relationship between sections.
  • Skipped heading levels can make the content structure harder to follow, especially for screen reader users.
  • A heading outline should make sense when read without the page copy.
  • Headings should describe content rather than exist primarily for keyword placement.
  • Crawling tools such as SiteAuditLint can reveal missing, duplicate, empty, and structurally inconsistent headings at scale.

Knowledge check

1. What is the main purpose of the H1?
2. A page goes H1, H2, then H4. What should you review?
3. What does a crawl finding of multiple H1s mean?
4. What is a useful test of a page's heading structure?

Ready to go further? Review the technical SEO checklist, or revisit how headings pair with page names in the Titles lesson.