- Home
- GEO Factors
- Content
- Header Hierarchy
Header Hierarchy
Validates your heading structure (H1-H6) for logical hierarchy. Proper headers help AI engines parse content sections accurately.
Why It Matters for AI Visibility
How We Score It
How to Improve
- 1
Use exactly one H1 per page
The H1 should be the page title or primary topic. If your CMS automatically generates an H1 from the page title, do not add another one in the content body. Every page needs exactly one H1 -- no more, no less. Multiple H1 tags cost 2 points and confuse AI engines about what the page is actually about.
- 2
Never skip heading levels
Go H1, then H2, then H3 sequentially. If you need a sub-section under an H2, use H3 -- not H4. Each skipped level deducts 2 points. This sequential nesting tells AI parsers exactly how your content is organized, making it easy to extract the right section for a given query.
- 3
Use headings as a content outline
Before writing, draft your headings as a skeleton. If the headings alone do not tell a coherent story about the page topic, revise them. AI engines often extract just the heading hierarchy to understand what a page covers. Think of your headings as a table of contents that must stand on its own.
- 4
Audit heading levels in your CMS editor
Many WYSIWYG editors let authors pick heading sizes for visual reasons. An H4 used for visual size when it should be an H2 breaks the semantic hierarchy. Use CSS classes for styling instead of heading tags. The heading level must reflect content structure, not font size preferences.
Before & After
H1: Our Blog H1: 10 Tips for Better Sleep H3: Tip 1 - Set a Schedule H3: Tip 2 - Avoid Screens
H1: 10 Tips for Better Sleep H2: 1. Set a Consistent Sleep Schedule H2: 2. Avoid Screens Before Bed
H2: Features H4: Analytics Dashboard H4: Team Management
H1: Acme Project Management Platform H2: Features H3: Analytics Dashboard H3: Team Management
Code Examples
Correct heading hierarchy in HTML
<h1>Complete Guide to Container Orchestration</h1>
<h2>What Is Container Orchestration?</h2>
<h2>How Does Kubernetes Work?</h2>
<h3>Pods and Deployments</h3>
<h3>Services and Networking</h3>
<h2>Kubernetes vs Docker Swarm</h2>Frequently Asked Questions
Is it okay to have no H1 if the page title is in the browser tab?
No. The browser tab title and the H1 serve different purposes. AI engines look for an H1 in the page body to identify the primary topic. The title tag is metadata; the H1 is the on-page signal. Always include one visible H1 -- missing it costs 3 points.
Can I use H2 tags for styling even if it breaks the hierarchy?
No. Use CSS classes for visual styling and reserve heading tags for semantic structure. AI engines rely on heading levels to parse your content outline, not visual size. An H2 used purely for its font size where an H3 belongs creates a structural gap that the analyzer will flag.
Does the order of headings in the HTML matter, or just the levels?
Both matter. The analyzer checks sequential heading order. If an H2 is followed by an H4 (skipping H3), that counts as a skipped level regardless of where those headings appear visually on the page. The HTML source order is what AI crawlers read.
Related Factors
Check Your GEO Score
Run a free analysis on your website and see how you score across all 52 factors.
Analyze My SiteAnswer-First Format
NextQuestion-Format Headers