Header tags SEO guide showing correct H1 to H6 heading hierarchy, keyword placement, and common heading mistakes
SEO Tools

Header Tags and SEO — How H1–H6 Affect Rankings

Sunny Pal Singh · · 6 min read

Header tags (H1–H6) serve two SEO functions: they signal content structure to Google's crawlers, and they establish keyword relevance for the page's topic. Google uses heading text to understand what a page covers and how the content is organised. Common heading mistakes — multiple H1s, skipped levels, keyword stuffing — are detectable errors that most SEO tools flag. This guide covers the correct usage of H1–H6, where keywords belong, and how to audit heading structure across an entire site.

Key Takeaways

  • Use exactly one H1 per page — it should be the primary keyword or a close variant, describing what the entire page is about
  • Heading hierarchy must not skip levels: H1 → H2 → H3 only; jumping from H1 to H3 without an H2 signals poor content structure to crawlers and creates accessibility issues for screen reader users
  • Include the target keyword in the H1 and at least one H2 — but don't force it into every heading; headings with natural keyword context rank better than keyword-stuffed ones
  • H2 tags are the most SEO-valuable after H1 — they define the major subtopics of the page, which Google may extract for featured snippets
  • Multiple H1 tags on a page (a common CMS bug) confuse Google about the page's primary topic — audit your entire site for H1 duplicates

H1 — The Page's Primary Topic Signal

The H1 is the most important heading tag. It tells Google what the page is fundamentally about. Best practices:

One H1 per page. This is the strongest signal. Multiple H1s create ambiguity — Google has to guess the primary topic from competing signals.

H1 content. The H1 should contain the primary keyword or a natural variant. "How to Check Broken Links on Your Website" is a strong H1; "Page About Checking Links on Websites and Finding Broken URLs" keyword-stuffs and looks unnatural.

H1 ≠ title tag. The H1 and title tag can (and often should) differ slightly. The title tag is optimised for SERP display (60 chars max); the H1 can be more descriptive.

Common H1 bugs:

  • CMS themes that render the site name as an H1 on every page
  • Blog index pages with one H1 per article card (multiple H1s in the DOM)
  • Pages where the logo alt text or nav title is wrapped in an H1

H2 Tags — Major Section Structure

H2 tags define the major subtopics of the page. They're valuable for:

Keyword coverage. H2 headings that naturally contain related keywords (LSI keywords, question variants) help Google understand the breadth of the page's topic coverage.

Featured snippet triggers. When H2 text matches a question query and is followed by a concise answer, Google often extracts it as a featured snippet paragraph.

Readability signals. Pages with a clear H2 structure have lower bounce rates than wall-of-text pages — which correlates with ranking stability.

H2 usage guidelines:

  • Use for major content sections (equivalent to chapters)
  • Include 2–6 H2s on a typical 1000-word page (more sections = more H2s)
  • Don't use H2 just to make text bigger — use CSS for visual formatting

H3–H6 — Subsection Structure

H3 tags are subsections of H2 sections. H4–H6 are rarely needed except for very deep technical content.

Correct hierarchy:

H1: Main topic
  H2: Major section 1
    H3: Subsection 1a
    H3: Subsection 1b
  H2: Major section 2
    H3: Subsection 2a

Incorrect (hierarchy skip):

H1: Main topic
  H3: Section (skipped H2) ← Google and screen readers see this as broken structure

The heading skip check is one of the 22 SEO checks in the SEO Analyzer. A page with H1 → H3 without an intervening H2 fails the heading hierarchy check.

Keyword Placement in Headings

Where to place keywords in headings:

  • H1: Primary keyword / close variant — always
  • First or second H2: Primary keyword or a semantically related term — naturally
  • Remaining H2s: Related terms, question variants, subtopics — naturally
  • H3s: No specific keyword requirement — be descriptive of the subsection content

What not to do:

  • Putting the exact keyword phrase in every H2 ("broken link checker section 1", "broken link checker section 2")
  • Starting every heading with the same keyword ("SEO: H1 tags", "SEO: H2 tags", "SEO: H3 tags")
  • Using headings only for keywords, without them serving as genuine navigation markers

Common Heading Structure Mistakes

Mistake Impact Fix
Multiple H1s Confused primary topic signal Remove extra H1s; use H2 for section titles
Missing H1 No primary topic signal Add exactly one H1 with primary keyword
Heading skip (H1→H3) Broken structure signal, accessibility fail Insert H2 between H1 and H3
Keyword-stuffed headings Looks manipulative; may trigger manual review Write natural, descriptive headings
Using headings for visual formatting only Heading hierarchy pollution Use CSS classes for styling; use headings for structure
No headings at all (H2+) Thin content signal; no snippet opportunity Add H2 section headings to organise content

Auditing Heading Structure at Scale

For a single page: View Source → Ctrl+F for <h to scan all heading tags in order. This shows the raw heading sequence and immediately surfaces any skips or multiple H1s.

For the entire site: The SEO Analyzer crawls every page and flags:

  • H1_MISSING — page has no H1 tag at all
  • H1_MULTIPLE — page has more than one H1 tag
  • HEADING_SKIP — heading hierarchy skips a level (e.g. H1 directly to H3)

Export the results filtered by the "headings" tab to see all pages with heading issues in one view. A site with 200 pages can have dozens of heading errors introduced by CMS templates, page builders, or imported content — scanning manually is not practical.

Tip: CMS page builders are a frequent source of H1 bugs. They often wrap section titles in H1 tags for visual sizing, not semantic meaning. After any major theme change or template update, run a full site audit to catch newly introduced heading errors before they affect rankings.

Audit Your Site's Heading Structure

Free, no signup. The SEO Analyzer crawls every page and flags missing H1s, multiple H1s, and heading hierarchy skips — so you can fix structural issues across the entire site, not just the pages you manually check.

Try the SEO Analyzer Free →
SP

Sunny Pal Singh

Fellow · Technical Director — AI Infrastructure, Cloud Orchestration & Network Automation

Sunny is a Fellow and Technical Director specialising in AI infrastructure, cloud orchestration, and network automation. With hands-on depth across AWS, Azure, GCP, Red Hat OpenStack, and OpenShift, he leads high-performing teams of architects and engineers building transformative solutions at scale. He built ByteWaveNetwork to bring the same engineering rigour to everyday web tooling.

· ByteWaveNetwork

Affiliate disclosure: Some links on this page may be affiliate links. We only mention tools we've personally used and have an honest opinion about. Affiliate revenue helps keep ByteWaveNetwork's tools free and maintained. We are not paid by any of the tools compared in this article for favorable coverage.

Choose design