Headings are the structural skeleton of every web page. They tell search engines what your page is about, help users scan content quickly, and provide screen reader users with a navigable table of contents. Despite being one of the simplest HTML elements, headings are consistently misused — from styling-driven choices that break semantic meaning to keyword-stuffed H1 tags that read like spam. Getting heading structure right improves your SEO, accessibility, and user experience simultaneously.
Why Heading Hierarchy Matters
HTML provides six heading levels — <h1> through <h6> — that create a hierarchical outline of your content. This hierarchy serves three distinct audiences:
- Search engines use headings to understand the topical structure of a page. Google has confirmed that headings help it determine what each section is about and how sections relate to each other. A well-structured heading hierarchy makes it easier for Google to match your content to relevant search queries.
- Users scan headings to decide whether a page contains the information they need. Eye-tracking studies show that users scan headings before reading body text, and most visitors read fewer than 20% of the words on a page. Clear, descriptive headings let users jump directly to the section they care about.
- Screen readers present headings as a navigation structure. Over 60% of screen reader users navigate by heading level, jumping from H2 to H2 to find their target section. A broken hierarchy — skipping levels or using headings inconsistently — makes this navigation unreliable.
HTML Heading Levels Explained
| Level | Purpose | Typical Usage |
|---|---|---|
<h1> | Page title / primary topic | One per page — the main heading |
<h2> | Major sections | Each primary section of the content |
<h3> | Subsections within an H2 | Sub-topics under a major section |
<h4> | Sub-subsections within an H3 | Detailed breakdowns, rarely needed |
<h5> / <h6> | Deeply nested sections | Almost never needed in standard content |
Think of headings as a document outline. Your H1 is the book title, H2s are chapter titles, H3s are section titles within chapters, and so on. Most web content only needs H1, H2, and H3 levels. If you find yourself using H4 or deeper, consider whether your content structure is too complex or whether you're misusing headings for visual sizing.
The Single H1 Debate
The question "should I use only one H1 per page?" has generated endless SEO debates. Here are the facts:
HTML5 technically allows multiple H1 tags within different sectioning elements (<section>, <article>). The specification says the browser should interpret heading levels based on their nesting context.
Google says multiple H1s are fine. John Mueller has explicitly stated that using multiple H1 tags doesn't cause SEO problems and that Google handles them well.
Best practice is still one H1. Despite Google's tolerance, a single H1 per page is the clearest, most universally understood approach. It unambiguously defines the page's primary topic, works reliably with all screen readers (some don't fully implement the HTML5 outline algorithm), and provides a clean document structure. There is no SEO advantage to using multiple H1s — the practice only adds complexity.
Use one H1 per page that clearly states the page's primary topic. Use H2 for main sections, H3 for subsections within those sections. Keep the hierarchy logical and never skip levels.
Proper Nesting and Hierarchy
Heading nesting means that each heading level should only appear within the context of the level above it. Correct nesting creates a clean outline; broken nesting creates confusion.
Correct hierarchy:
- H1: Complete Guide to Coffee Brewing
- H2: Pour-Over Method
- H3: Equipment You Need
- H3: Step-by-Step Instructions
- H2: French Press Method
- H3: Grind Size Recommendations
Broken hierarchy (avoid):
- H1: Complete Guide to Coffee Brewing
- H3: Pour-Over Method (skipped H2)
- H2: French Press Method
- H5: Grind Size (skipped H3 and H4)
Skipping levels doesn't technically break your page, but it signals sloppy structure, harms accessibility navigation, and makes it harder for Google to understand sectional relationships.
Keywords in Headings
Headings are high-prominence positions — Google gives more weight to text in headings than in regular paragraphs. This makes headings an important place for keyword placement, but the approach needs to be natural, not mechanical.
H1: Include your primary keyword naturally. The H1 should closely match (or be identical to) your title tag. If your page targets "coffee brewing methods," your H1 should contain that phrase.
H2 headings: Use secondary keywords and related terms. Instead of repeating "coffee brewing" in every H2, use variations: "Pour-Over Brewing," "French Press Technique," "AeroPress Guide." Each H2 should target a subtopical keyword that supports the primary topic.
H3 headings: Use long-tail keywords and question phrases where applicable. "What Grind Size for French Press?" naturally targets a specific query without feeling forced.
Never sacrifice readability for keyword insertion. A heading like "Best Coffee Brewing Methods Guide Tips Tricks 2026" is keyword-stuffed and immediately signals manipulation to both readers and search engines.
How Google Uses Headings
Google uses headings for several purposes beyond simple keyword matching:
- Content understanding. Headings help Google determine the topical structure and scope of your page. A page with H2s covering "Types," "Benefits," "Risks," and "How to Start" is clearly a comprehensive overview.
- Featured snippet extraction. Google frequently pulls heading text and the paragraphs immediately following them for featured snippets. Question-format headings followed by concise answers are prime candidates.
- Passage ranking. Since late 2020, Google can rank individual passages of long-form content independently. Well-structured headings help Google identify and isolate meaningful passages.
- Table of contents generation. For some queries, Google shows jump-to links under your search result that correspond to page headings, giving you extra SERP real estate.
Heading Accessibility
For visually impaired users who rely on screen readers, headings are the primary navigation mechanism. Screen readers like JAWS, NVDA, and VoiceOver allow users to list all headings on a page, jump to the next heading of a specific level, or navigate sequentially through the heading hierarchy.
WCAG 2.1 requirements for headings:
- Descriptive text. Headings should make sense out of context. A screen reader user scanning headings should understand the page's structure without reading body text. "Step 3" is not descriptive; "Step 3: Install the Dependencies" is.
- Sequential nesting. Don't skip from H2 to H5. Each level should follow logically from the one above it.
- No headings for styling. If you want large, bold text that isn't a section heading, use CSS. Using an
<h3>just because it looks the right size pollutes the heading outline and confuses assistive technologies. - Non-empty headings. Empty heading tags (
<h2></h2>) create confusing blank entries in heading navigation. Every heading tag must contain meaningful text.
Common Heading Mistakes
- Using headings for styling. Choosing an H3 because it's the right visual size instead of using CSS to style the correct semantic level. This is the most common mistake and the most damaging to accessibility.
- Skipping heading levels. Going from H1 directly to H3, or from H2 to H4. Always maintain sequential order within each heading tree branch.
- Multiple H1 tags without purpose. While not technically harmful for SEO, using multiple H1s when one clear H1 would suffice adds unnecessary complexity.
- Keyword stuffing in headings. Cramming multiple keywords into headings that become unreadable. Google's algorithms detect this pattern and may devalue those headings as signals.
- Empty or image-only headings. Heading tags that contain only an image (with no alt text) or are completely empty provide no value to search engines or screen readers.
- Inconsistent heading patterns. Using H2 for some sections and H3 for others at the same hierarchical level creates an illogical outline. Maintain consistent levels for sections at the same depth.
Try It Yourself
Paste any URL and instantly visualize the heading hierarchy — catch skipped levels, missing H1s, and structural issues before they hurt your SEO.
Heading Analyzer →