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.
- Clear headings help readers locate relevant sections. Scanning and reading behavior depend on the audience, task and content; no universal percentage of words read applies.
- Many screen readers support navigation by heading. Meaningful labels and levels help, but validate the rendered structure and assistive-technology experience rather than relying on an unsupported usage percentage.
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: H1 labels the page, H2 labels major sections and deeper ranks label nested subsections. Use as many ranks as the content needs, up to H6, without choosing headings merely for visual size.
The Single H1 Debate
The question "should I use only one H1 per page?" has generated endless SEO debates. Here are the facts:
Do not rely on the abandoned HTML outline algorithm to assign levels to nested h1 elements. Use explicit h1–h6 ranks to represent the intended hierarchy.
Multiple H1 elements are not automatically a Google ranking penalty. Prefer a clear, descriptive page heading and choose the remaining ranks to communicate the document structure.
One descriptive main h1 is a useful convention for many pages. Multiple h1 elements are not automatically a Google penalty. Choose explicit heading levels for a coherent rendered structure and test accessibility.
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)
Descending into a subsection while skipping a heading rank can obscure the hierarchy, including for heading navigation with assistive technology. Returning to a higher-level heading can correctly close a subsection. This is not a documented automatic Google ranking penalty.
Keywords in Headings
Headings describe sections and can help search engines understand content. Google does not publish a fixed weight for text at each heading level. Write descriptive headings, not a keyword quota.
H1: Describe the main topic clearly. It can differ from the title tag while remaining accurate; an exact target phrase is not mandatory.
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 label sections, but having headings such as “Types” and “Benefits” does not prove a page is comprehensive, accurate or useful.
- Featured snippets. Clear questions and answers help readers, but Google chooses whether and what to feature; a heading format does not establish eligibility or a predictable selection rate.
- Passage ranking: Google’s systems can use individual passages to understand a page’s relevance. Passages are not separately indexed pages, and heading markup does not guarantee a ranking effect.
- Jump links. Search presentation can include links to page sections. Useful anchors and headings support navigation, but Google decides when section links appear.
Heading Accessibility
Screen-reader users can navigate by headings, landmarks, links and other elements. Tools such as JAWS, NVDA and VoiceOver provide heading navigation; descriptive text and appropriate ranks make that structure useful.
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.
- Skipped heading levels: Descending from h2 to h4 can obscure hierarchy. Returning from h4 to h2 can correctly close a subsection and start a higher-level section. Assess structure rather than flagging every numerical jump.
- 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. Avoid unnatural keyword repetition intended to manipulate rankings. Write descriptive headings; Google does not publish a specific heading-devaluation formula.
- 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 supported HTML or use the tool’s available URL workflow to inspect source headings. Source analysis cannot establish the final rendered or accessible structure.
Heading Analyzer →