ONPAGE · SEO GLOSSARY

Heading Tag (H1–H6)

HTML heading elements (H1 through H6) that define the hierarchical structure of a page\'s content — with H1 as the primary page heading (one per page), H2 as major section headings, H3 as subsections, and so on.

Definition

Heading tags are HTML elements that define the hierarchical structure of page content. There are six levels: `<h1>` (most important, primary page heading), `<h2>` (major section headings), `<h3>` (subsection headings within an H2 section), `<h4>`–`<h6>` (progressively lower-level subheadings, rarely used beyond H4 in typical content). **H1 tag**: the primary heading of the page, typically displayed as the largest text element at the top of the content area. Best practices: one H1 per page (multiple H1 tags can confuse the page\'s primary topic signal, though Google has stated it tolerates multiple H1s without penalty); the H1 should clearly identify the page\'s primary topic; the H1 may be similar to (but doesn\'t need to be identical to) the title tag — the title tag is the SERP headline, the H1 is the on-page heading the user sees. **H2 tags**: major section headings that divide the page into logical parts. For SEO, H2 headings should: (1) Include secondary keywords and related terms that reinforce the page\'s relevance to the primary topic; (2) Be phrased as questions where appropriate — H2s phrased as questions match directly to user query language and improve Featured Snippet eligibility (where the H2 becomes the question and the following paragraph becomes the answer) and AI Overview citation eligibility (where the question structure allows AI systems to extract the associated answer). **H3 tags and below**: provide structural subdivision within H2 sections. H3s don\'t carry significant direct ranking signal but improve content scannability and help search engines understand the hierarchical relationship between subtopics. **Heading hierarchy**: headings should be used in document order (H1 → H2 → H3, not H1 → H3 → H2) to create a logical content outline. Skipping heading levels (H2 directly to H4) is an accessibility issue as well as a structural inconsistency signal.

Why it matters for SEO

Heading tags serve both ranking and user experience functions. For rankings: H1 provides the primary topic signal for the page — Google uses the H1 as a strong relevance indicator when the title tag is absent or when determining the page\'s topic. H2 headings containing secondary keywords and related terms reinforce topical relevance across the full topic scope of the query. Question-format H2 and H3 headings are the content structure most likely to earn Featured Snippets (where Google extracts the H2 question and the following 40–60 word paragraph as a SERP answer) and AI Overview citations (where the question-heading + answer structure is the optimal format for AI systems to extract and cite). For user experience: heading structure provides scannability — users read headings to find the section relevant to their specific question and skip to it, rather than reading the entire page. Pages without heading structure have higher bounce rates for users who don\'t immediately see the relevant section. The question-heading ratio check (≥20% of H2/H3 headings phrased as questions) is one of DeepSEOAnalysis\'s five GEO/AI visibility signals.

How DeepSEOAnalysis checks this

The audit checks heading tags across all crawled pages: H1 presence (missing H1 flagged), H1 count (multiple H1 tags flagged), H1 length and quality (H1 tags under 20 characters or over 70 characters are flagged), H2/H3 presence (pages with no H2 structure flagged for low scannability), heading hierarchy (H3 appearing before any H2 on the page is a structural error), and question-heading ratio (the fraction of H2 and H3 headings phrased as questions — the audit checks for headings ending in "?" or beginning with question words: Who, What, Where, When, Why, How, Is, Are, Can, Does, Which, Should). The question-heading ratio target is ≥20% of total H2/H3 headings. The audit also identifies headings that contain keyword-stuffed phrases (multiple comma-separated keywords) that Google\'s quality signals penalise.

Useful tools and resources

See how your site scores on Heading Tag (H1–H6).

The free DeepSEOAnalysis audit checks heading tag (h1–h6) and 100+ other signals. Full report, no signup.

Run a free audit →