SEO glossary
What is an H2 Tag?
Learn what an H2 tag is—the second-level HTML heading used for major page sections—and how H2 structure improves readability, featured snippets, and topical clarity.
Definition
An H2 tag is the HTML h2 element that introduces a major section within a page, sitting directly beneath the H1 in the heading hierarchy and dividing body content into scannable, logically ordered blocks.
H2 tag: major sections under the H1
The H2 tag marks the first level of subdivision below the H1 tag. If the H1 names the page topic, H2s name the chapters: "Benefits," "How it works," "Pricing," "FAQ." Readers skim H2s before committing to paragraphs; parsers use them to segment topical blocks.
H2s are the workhorse heading for long-form on-page SEO content—guides, product detail tabs, documentation, and comparison pages.
Position in the heading hierarchy
H1 Primary topic (one per page)
├── H2 Major section 1
│ └── H3 Detail under section 1
├── H2 Major section 2
└── H2 Major section 3
H2 is not "slightly smaller H1." It is explicitly subordinate. Competing H1-sized visuals should not all use <h2> unless they are true peer sections under one H1.
H2 vs H1: distinct jobs
| Aspect | H1 | H2 |
|---|---|---|
| Scope | Whole page topic | Major in-page section |
| Count | One (typical) | Many allowed |
| SERP role | Title rewrite source | Rarely used for SERP title |
| Reader behavior | "Am I on the right page?" | "Which section answers my question?" |
<h1>Complete guide to robots.txt</h1>
<p>Intro paragraph...</p>
<h2>What robots.txt controls</h2>
<p>...</p>
<h2>Common disallow mistakes</h2>
<p>...</p>
<h2>Testing with Search Console</h2>
<p>...</p>
When to add an H2
Add H2s when:
- A section exceeds ~150–200 words and introduces a new subtopic
- Users would benefit from a table of contents jump link
- You answer distinct questions in one URL (combined guide)
- Product pages separate specs, reviews, and shipping
Skip H2s when:
- The page is a short confirmation or utility screen
- A single paragraph fully answers the query
- Fake H2s exist only to repeat keywords
H2 patterns that perform well
Question-style H2s
Useful for informational intent and snippet eligibility:
<h2>What is crawl budget?</h2>
<p>Crawl budget is the resources Google allocates...</p>
<h2>How do you increase crawl budget?</h2>
<p>You do not directly "buy" budget, but you can...</p>
Task-oriented H2s
Strong for how-to and product education:
Install the tracking snippetConnect your domainCompare plans
Entity-specific H2s
Comparison pages:
<h2>Crawlox vs manual spreadsheet audits</h2>
<h2>Crawlox vs enterprise suites</h2>
Each H2 should be followed by substantive body copy, not a single sentence stub.
H2 and table of contents plugins
Many CMS TOC widgets auto-generate from H2/H3. Benefits:
- Jump links improve UX and time on page
- Anchor URLs (
#section-id) can earn sitelinks-style jumps
Ensure:
idattributes are stable across edits- H2 text is concise for TOC labels
- Mobile TOC does not replace visible headings
H2 styling vs semantics
Design teams often size H2 visually smaller than marketing hero text. Semantic level matters independently:
| Anti-pattern | Fix |
|---|---|
| Bold paragraph as section title | Use <h2> with CSS |
| H2 styled tiny in footer widgets | Demote footer labels to <h3> or <p> |
| All caps H2s for accessibility | Prefer sentence case; use CSS for emphasis |
H2 mistakes in SEO audits
- Keyword list H2s —
Best SEO tool Chicago SEO agency SEO services - Duplicate H2 text across paginated archives
- Empty sections — H2 followed by nothing or only ads
- H2 in sidebar that repeats on every URL (template noise)
- Accordion titles as non-headings — lose outline benefits unless marked up
H2 for ecommerce and templates
Product templates often use H2 for:
| Section | Example H2 |
|---|---|
| Details | Product details or spec-driven custom H2 |
| Reviews | Customer reviews |
| Shipping | Delivery and returns |
| Related | You may also like (consider if H2 or <h3>) |
Customize H2s when generic labels waste topical signals—Technical specifications beats Details for electronics.
Measuring H2 structure quality
Manual rubric per template:
- Does every H2 introduce at least two paragraphs or a list/table?
- Can H2 order be shuffled without breaking logic? If yes, outline is weak.
- Do H2 strings appear in Search Console queries as impressions?
- Are H2s unique within the site for cornerstone content?
Crawl tools can count H2 frequency and flag URLs with H1 but zero H2 on long word counts—often missing structure.
H2 accessibility
- Screen reader users navigate by heading level; consistent H2 usage speeds scanning
- Do not use H2 for sidebar "Related posts" if those are navigational asides—consider
<nav>with lower headings
H2 and internationalization
Translated pages should localize H2 strings, not only body paragraphs. English H2s on non-English URLs confuse users and dilute relevance signals.
Maintain heading glossary per locale so translators preserve intent, not literal keyword lists.
How Crawlox helps with H2 tags
Crawlox extracts heading outlines per URL, highlighting long pages without H2 structure or templates with repetitive H2 boilerplate across thousands of paths. Use crawl exports to standardize section patterns on guides and product templates—where H2 clarity most affects scannability and topical segmentation.
Related terms
Frequently asked questions
How many H2 tags can a page have?
As many as needed for genuine major sections. Long guides may have a dozen H2s. Avoid splitting content artificially—each H2 should introduce a meaningful block of related copy.
Can H2 text include keywords?
Yes, when natural. H2s that mirror subtopics users search for (e.g., 'Pricing', 'How it works') can clarify relevance without stuffing.
Should every page have an H2?
Short pages may only need an H1 and paragraphs. Most substantive content benefits from at least one H2 to structure the narrative.
Is skipping from H1 to H3 valid?
Technically valid HTML, but poor practice. Screen readers and SEO audits expect H2 as the first subdivision under H1 unless design systems document exceptions.
Do H2 tags appear in featured snippets?
Clear H2 question-style headings paired with concise answers below can feed list and paragraph snippets, though no markup guarantees placement.
References
Explore authoritative guidance and frameworks related to h2 tag.
Explore every glossary definition
Return to the glossary to search by term, alias, starting letter, or category.