Heading tags (H1 through H6) are the backbone of on-page SEO. They tell search engines what your content is about, how it’s organised, and which sections are most important. Get headings right, and you signal relevance to Google while making your content easier to read. Get them wrong, and you confuse both.
This guide covers everything: proper heading hierarchy, SEO best practices, common mistakes, and advanced techniques used by top-ranking pages.
What Are Heading Tags?
Heading tags are HTML elements (<h1> to <h6>) that define headings and subheadings on a webpage. They create a visual and structural hierarchy:
| Tag | Purpose | SEO Impact |
|---|---|---|
| H1 | Main page title — the primary topic | Highest |
| H2 | Major section headings | High |
| H3 | Subsections within an H2 section | Medium |
| H4-H6 | Further subdivisions, rarely needed | Low |
HTML Example
<h1>Complete Guide to Running Shoes</h1>
<h2>Types of Running Shoes</h2>
<h3>Road Running Shoes</h3>
<h3>Trail Running Shoes</h3>
<h3>Racing Flats</h3>
<h2>How to Choose the Right Fit</h2>
<h3>Measuring Your Foot</h3>
<h3>Understanding Width Sizes</h3>
<h3>Trying Shoes On</h3>
<h2>Cushioning vs Stability</h2>
<h2>When to Replace Your Shoes</h2>
Use our Heading Analyzer to check any page’s heading structure for SEO issues.
Why Heading Structure Matters for SEO
1. Relevance Signals
Google uses headings to understand what your page is about. An H1 containing your target keyword tells Google “this page is relevant to this topic.” H2s reinforce subtopics and coverage depth.
2. Featured Snippet Opportunities
Google often pulls content from H2s and H3s for featured snippets. Clear, well-structured subheadings that match question-based queries increase your chances of appearing in position zero.
3. Readability and User Experience
Headings break content into scannable sections. Users scan before they read — headings help them find exactly what they’re looking for. Better UX leads to longer dwell time and lower bounce rates, which are indirect ranking signals.
4. Accessibility
Screen readers use heading tags to navigate content. Proper hierarchy helps visually impaired users understand your content structure. This aligns with Google’s emphasis on accessible, user-first content.
5. Internal Linking Context
When you link to a page using the heading text as anchor text, you reinforce the topical relevance. Google uses surrounding heading context to understand linked content.
Heading Hierarchy Best Practices
One H1 Per Page
Every page should have exactly one H1 that clearly describes the page topic.
Correct:
<h1>Best Running Shoes for Flat Feet in 2026</h1>
Wrong:
<h1>Running Shoes</h1>
<h1>Flat Feet Guide</h1>
Logical Nesting Order
Always follow H1 → H2 → H3 → H4. Never skip levels (don’t go H1 → H3).
Correct:
H1: Best Running Shoes
H2: Types of Running Shoes
H3: Road Running
H3: Trail Running
H2: How to Choose
H3: Arch Support
Wrong:
H1: Best Running Shoes
H3: Road Running (skipped H2)
H3: Trail Running
Include Keywords in Headings
Place your target keyword in the H1 naturally. Include keyword variations and related terms in H2s and H3s.
| Heading | Example | Keyword Usage |
|---|---|---|
| H1 | Best Running Shoes for Flat Feet | Primary keyword |
| H2 | How We Tested Running Shoes | Semantic variation |
| H2 | Top 5 Running Shoes for Overpronation | Long-tail variation |
| H3 | Brooks Glycerin GTS 20 Review | Brand + product |
Keep H1s Descriptive, Not Generic
Wrong: Home
Wrong: Welcome
Wrong: Services
Right: Professional CCTV Installation Services in Doha
Right: Free Online Keyword Density Checker Tool
Right: Best Running Shoes for Flat Feet — 2026 Guide
Use H2s for Major Topic Shifts
Every distinct section of your content should start with an H2. Think of H2s as chapter titles in a book.
Use H3s for Supporting Details
H3s break down H2 sections into subtopics. If you need an H4, you’re probably going too deep — consider restructuring or splitting into a separate article.
Heading Structure Examples by Content Type
Blog Post
H1: How to Start a Blog in 2026
H2: Why Start a Blog?
H2: Choosing Your Niche
H3: Profitable Blog Niches
H3: Passion vs Profit
H2: Setting Up Your Blog
H3: Choosing a Platform
H3: Domain and Hosting
H3: Installing WordPress
H2: Creating Your First Post
H2: Promoting Your Blog
H2: FAQ
Product / Category Page
H1: Wireless Security Cameras — Outdoor & Indoor
H2: Why Choose Wireless Security?
H2: Types of Wireless Cameras
H3: Battery-Powered Cameras
H3: Plug-In Cameras
H3: Solar-Powered Cameras
H2: Key Features to Look For
H3: Resolution and Night Vision
H3: Two-Way Audio
H3: Storage Options
H2: Comparison: Top Wireless Cameras
H2: Installation Guide
H2: Frequently Asked Questions
Landing Page
H1: Free Online Temperature Converter
H2: How to Use the Temperature Converter
H2: Celsius to Fahrenheit
H2: Fahrenheit to Celsius
H2: Kelvin Conversions
H2: Temperature Reference Table
Common Heading Mistakes
1. Multiple H1s on One Page
Having more than one H1 confuses search engines about the primary topic. Stick to one per page.
2. Skipping Heading Levels
H1 → H3 (skipped H2)
This breaks the semantic hierarchy. Screen readers and search engines expect a logical flow.
3. Using Headings for Styling Only
<h2 style="font-size: 14px; font-weight: normal;">Small text</h2>
If you need a certain font size, use CSS. Don’t misuse heading tags for visual purposes.
4. Empty or Vague Headings
H2: Click Here
H2: More Info
H2: Learn More
Every heading should describe the content that follows. Vague headings help neither users nor search engines.
5. Keyword Stuffing in Headings
H2: Running Shoes — Best Running Shoes for Running
This looks spammy. Use natural language in headings.
6. No H1 at All
Every page needs an H1. Some CMS themes hide the H1 visually or fail to include it at all. Check your rendered HTML.
7. Identical H1s Across Pages
Every page should have a unique H1. Duplicate H1s create confusion about which page is most relevant for a query.
Headings and Featured Snippets
Google pulls content from well-structured headings for featured snippets, especially for:
- List snippets: H2 + ordered or unordered list
- Paragraph snippets: H2 + a direct answer paragraph
- Table snippets: H2 + data table
- Video snippets: H2 + video markup
How to Optimise Headings for Snippets
-
Use question-based H2s: Match common search queries
- “How to choose running shoes”
- “What is the best running shoe for flat feet”
- “When to replace running shoes”
-
Follow each H2 with a direct answer: 40-60 words that fully answer the question
-
Use H2s for each snippet opportunity: Each well-structured H2 is a potential featured snippet
Headings and Accessibility
Proper heading structure is critical for accessibility:
- Screen readers: Users can navigate by headings, jumping between sections
- Keyboard navigation: Users can tab through heading-level content
- Readability: Clear hierarchy helps all users scan content
WCAG Requirements
WCAG 2.1 Success Criterion 1.3.1 (Info and Relationships) requires that headings convey content structure. This means:
- Use semantic heading tags (not just bold text)
- Maintain proper nesting order
- Don’t skip levels
How to Audit Heading Structure
Manual Check
- Open the page in your browser
- View the rendered HTML (right-click > Inspect)
- Look for heading tags in order
- Check: one H1, logical H2 → H3 nesting, no skipped levels
Using FreeToolz Heading Analyzer
Paste any URL into the Heading Analyzer and it will:
- Extract all headings in order
- Flag structural issues
- Check for missing H1s
- Identify skipped levels
- Show keyword usage in headings
Checklist for Good Heading Structure
- Exactly one H1 per page
- H1 contains target keyword naturally
- Heading hierarchy follows H1 → H2 → H3 (no skipping)
- H2s cover all major topic sections
- H3s support H2 subtopics (if needed)
- No duplicate H1s across pages
- All headings are descriptive and useful
- No heading-only styling (use CSS instead)
- Headings match search intent
- Question-based H2s for featured snippet opportunities
- No keyword stuffing in headings
FAQ
How many H1 tags should a page have? One. Only one H1 per page. Multiple H1s dilute the topical signal and confuse search engines.
Can I skip H2 and use H3 directly? No. Always maintain hierarchy: H1 → H2 → H3 → H4. Skipping levels breaks the semantic structure for screen readers and search engines.
Does the H1 have to match the title tag? Not necessarily, but they should be similar. The title tag appears in search results, while the H1 appears on the page. They can differ in wording as long as both describe the same topic.
What’s the difference between H1 and the page title?
The title tag (<title>) appears in search results and browser tabs. The H1 appears as the main visible heading on the page. They often contain similar keywords but are technically separate elements.
How long should an H1 be? Keep H1s under 60 characters if possible, but clarity matters more than length. A descriptive H1 that naturally includes your target keyword is better than a short, generic one.
Can headings improve my Core Web Vitals? Indirectly. Well-structured headings improve readability and user engagement, which can reduce bounce rates. But headings themselves don’t directly affect LCP, FID, or CLS scores.
Should I put keywords in every heading? No. Use keywords naturally in relevant headings. Forcing keywords into every H2 and H3 looks spammy and hurts readability. Use a mix of primary keywords, related terms, and natural language.
How many H2s should a page have? As many as needed to cover your topic thoroughly. A 2,000-word article typically has 5-10 H2s. Short pages (500 words) may only need 2-3. Don’t add H2s for the sake of it.
What happens if I have no H1 on my page? Google will infer the heading from other elements, but it’s a missed opportunity. Every page should have a clear, descriptive H1. It’s one of the strongest on-page SEO signals available.
Do H4, H5, and H6 tags help SEO? Minimally. Most content never needs to go below H3. If you’re using H4s, consider whether the content could be reorganised or split into separate pages.
Analyse your page’s heading structure instantly with FreeToolz’s Heading Analyzer — free, no signup required.