Most heading-tag advice mixes three different rulebooks together: HTML semantics, accessibility guidance, and Google Search. They are not the same. This guide explains what H1 through H6 actually do, which heading rules matter for Google, which are accessibility best practices, how to find real heading problems, and what current evidence does—and does not—say about AI citations.
By Rahul Saini, Search Counsel Co. Last verified September 3, 2026.
Quick answer
Heading tags are the HTML elements
<h1> through <h6>.
H1 is the highest heading level, H2 labels major sections, and H3-H6 represent progressively
deeper subsections. Google does not require perfect numerical heading order for ranking,
but a clear, logical hierarchy remains good practice for readers, accessibility,
content maintenance, and communicating page structure.
Scope of this guide
This page owns H1-H6 heading structure, semantics, SEO implications, accessibility, and heading audits. For SERP title optimization, use our title tag guide. For broader page optimization, see content optimization or the full on-page SEO guide.
Free H1-H6 heading checker
Use this checker to inspect the page you are currently viewing or paste HTML from another page. It reports heading counts, missing or multiple H1s, empty headings, repeated heading text, heading-level skips, and the full H1-H6 outline.
Search Counsel Co. Heading Checker
Paste HTML below, or choose Analyze this page. The tool does not assign fake “SEO penalties” to every warning. It separates structural findings from actual Google requirements.
For privacy and browser-security reasons, this client-side version does not fetch arbitrary external URLs. Paste rendered HTML from another page when you want to inspect it.
Google Search vs HTML vs accessibility: which heading rules actually apply?
This is the distinction most heading-tag guides miss. A recommendation can be excellent for accessibility without being a Google ranking requirement. Likewise, something permitted by HTML can still be poor authoring practice.
| Question | Google Search | HTML / MDN | Accessibility / W3C | Search Counsel Co. recommendation |
|---|---|---|---|---|
| Exactly one H1 required? | No published ranking requirement for exactly one H1. | HTML permits multiple H1s, but one main H1 is the cleaner general authoring pattern. | A clear main heading supports predictable page structure. | Prefer one clear page-level H1. |
| Does H2 → H4 hurt rankings? | No documented Google ranking penalty for imperfect semantic heading order. | Logical nesting is the recommended authoring pattern. | Skipping levels when nesting deeper can make page structure harder to understand. | Fix for structure and accessibility, not because of a fictional ranking penalty. |
| Use headings to make text larger? | Not their purpose. | Use CSS for visual size. | Semantic headings provide navigational structure. | Choose semantic level first and style with CSS. |
| Exact keyword required in H1? | No published exact-match requirement. | Not an HTML requirement. | The heading should describe the page clearly. | Name the topic naturally. |
| H1 maximum 60 characters? | No. | No. | No. | Prioritize clarity and usefulness. |
| Multiple H1s = Google penalty? | No documented automatic penalty. | Permitted, though one obvious main heading is usually easier to maintain. | Review whether the document still has a clear top-level heading. | Investigate before fixing. |
| Perfect hierarchy guarantees AI citations? | No documentation supports this. | Not an HTML ranking concept. | Not an accessibility ranking concept. | No. Use headings for structure and comprehension. |
See Google's SEO Starter Guide , MDN heading-element documentation , and W3C/WAI heading guidance .
H1 vs H2 vs H3 vs H4, H5 and H6
H1 through H6 represent six levels of document headings. The number describes hierarchy—not how much “SEO power” the element has.
| Heading | Main role | Typical use | Can repeat? | Example |
|---|---|---|---|---|
| H1 | Highest-level page heading | Names the main page topic | HTML permits multiple; one clear H1 is usually the cleanest default | Heading Tags (H1-H6): SEO Best Practices |
| H2 | Major section | Main supporting topics and questions | Yes | Do Heading Tags Help SEO? |
| H3 | Subsection within an H2 | Steps, examples and variations | Yes | How to Check H1 Tags in WordPress |
| H4 | Subsection within an H3 | Detailed nested documentation | Yes | Theme-Level Checks |
| H5 | Deeper subsection | Complex technical references | Yes | Specific nested configuration |
| H6 | Deepest native HTML heading level | Rare outside deep reference structures | Yes | Deep technical subsection |
What are heading tags?
Heading tags—often called header tags, H tags, or HTML headings—are the
<h1> through <h6> elements used to label sections of a webpage.
They create semantic structure so users, browsers, assistive technology,
and other systems can identify how content is organized.
An H1 typically names the page. An H2 introduces a major section. An H3 sits inside an H2 section. The same parent-child logic continues through H6.
The outline test: hide every paragraph and read only the headings. If the resulting outline explains what the page covers and how its sections relate, the structure is probably doing its job.
What is the difference between <head>, <header>, <title> and H1-H6?
These terms sound similar but perform different jobs.
Technically, “heading tags” is clearer than “header tags” because HTML has a separate
<header> element.
| Element | Purpose | Usually visible? |
|---|---|---|
<head>
|
Contains metadata, title information and resource links. | No |
<title>
|
Names the document for browser and search contexts. | Not as body content |
<header>
|
Groups introductory or navigational content. | Usually |
<h1>–<h6>
|
Represent six levels of section headings. | Yes |
Do heading tags help SEO?
Heading tags can support SEO by making the page's main topic and section relationships clearer, but Google does not describe H1, H2, or H3 as a magic standalone ranking switch. Good headings work because they help create understandable content and place descriptive language in prominent positions.
Google recommends using words people search for in prominent locations such as the main heading. That is different from saying that forcing an exact-match keyword into every H2 creates additional ranking points.
| Common claim | Better interpretation |
|---|---|
| “H1 guarantees a ranking boost.” | No. A descriptive main heading supports clarity and topical understanding. |
| “Every H2 needs the target keyword.” | No. Each H2 should accurately describe its section. |
| “H2 has more SEO power than H3.” | Heading level primarily communicates hierarchy, not fixed SEO weight. |
| “There is an ideal number of headings.” | There is no universal magical heading count. |
Does a page need exactly one H1?
A page does not need exactly one H1 to avoid a Google ranking penalty. However, one clear page-level H1 remains the best default for most modern webpages because it gives the document a predictable main heading and reduces ambiguity in CMS templates.
MDN notes that multiple H1 elements are permitted by HTML while recommending a clear main H1 as the general modern authoring approach.
Google's title-link documentation gives another practical reason to keep the main title obvious: Google may use prominent headings when creating search-result titles, and competing prominent headings can make the primary title less clear.
Recommendation
Use one obvious main H1 unless your document has a legitimate structural reason to do otherwise. If an audit finds two H1s, investigate why they exist instead of assuming an automatic Google penalty.
Does H1-H6 heading order matter?
Heading order matters strongly for understandable document structure and accessibility, but imperfect numerical order is not the same thing as a Google ranking penalty.
For Google Search
Google has clarified that semantic heading order is useful for screen readers, but Search does not depend on every heading level being perfectly sequential.
For accessibility and document structure
W3C recommends logical heading nesting. When creating a deeper subsection, jumping from H2 directly to H4 can be confusing and should generally be avoided when a proper H3 relationship exists.
Returning upward is different. An H2 following an H4 can be perfectly logical when the deep subsection has ended and another major section begins.
H1 best practices
Make the page topic obvious
The H1 should tell a visitor what the page is about without requiring surrounding context. “Services” is vague. “Technical SEO Services for Ecommerce Sites” is descriptive.
Use important topic language naturally
Important search terminology will often fit naturally into the main heading. Do not sacrifice clarity to force exact-match wording.
Do not chase a 60-character H1 rule
There is no Google, HTML, or accessibility rule requiring H1s to remain below 60 characters. Short headings are often easier to scan, but usefulness matters more than a fixed count.
Keep the H1 and title tag aligned
They can differ, but they should normally describe the same page. For the full distinction, see our title tag guide.
H2 to H6 best practices
Use H2s for genuinely different major sections
A useful H2 moves the page forward. It should not simply repeat the H1 using slightly different keywords.
Use H3s for subsections that belong to an H2
Steps, examples, cases, variations or narrower questions can become H3s when they genuinely sit inside a broader H2 section.
Use H4-H6 only when deeper nesting is real
There is nothing inherently wrong with H4, H5 or H6. Most ordinary marketing pages simply do not require that much hierarchy. Technical documentation often does.
Do not choose headings because of font size
Choose the semantic heading level first. Use CSS for visual appearance.
H1 vs title tag: what is the difference?
The H1 is the main visible heading inside the page body.
The title tag lives in the document's <head>
and is a major input Google can use when generating the clickable title link in search results.
| Feature | H1 | Title tag |
|---|---|---|
| Location | Page body | Document head |
| Primary job | Orient the user and identify the page-level topic | Name the document for browsers and search-result contexts |
| Must match exactly? | No. Topic alignment matters more than identical wording. | |
How to audit heading tags correctly
Audit the rendered page, not only what appears in the WordPress editor. Themes, plugins, JavaScript, page builders and templates can add headings outside the main content field.
1. Inspect the rendered DOM
Right-click a visible heading and select Inspect. Confirm whether it is really an H1, H2, H3 or another element.
2. Review the entire heading outline
Use the checker above, browser accessibility tools, or an SEO extension to list headings in document order.
3. Look for meaningful problems
- Missing main heading
- Unexpected duplicate H1
- Empty headings
- Headings used only for visual size
- Vague labels such as “More” or “Details”
- Unexpected template or navigation headings
- Illogical subsection nesting
4. Use View Source when it answers a different question
View Source shows the HTML initially returned by the server. The rendered DOM can differ after scripts or components execute.
5. Crawl important sections at scale
For larger sites, use a capable crawler to inventory H1-H6 patterns across many URLs. Then connect findings to a broader content audit rather than blindly fixing every crawler warning.
A real WordPress duplicate-H1 problem we found on this page
First-party audit note — September 2026
During this article's September 2026 refresh,
the previous live version of /header-tags/
rendered two identical H1 elements.
The WordPress template generated the post title as the first H1, while the custom article HTML inserted the same title as another H1. The body editor alone did not make the final document structure obvious.
That did not prove Google was penalizing the page. It demonstrated why heading audits should inspect what the browser actually renders instead of trusting the CMS editor alone.
Before:
<h1>Header Tags (H1 to H6): Structure That Ranks and Gets Extracted</h1>
<!-- WordPress template -->
...
<h1>Header Tags (H1 to H6): Structure That Ranks and Gets Extracted</h1>
<!-- Article HTML -->
After:
<h1>Heading Tags (H1–H6): SEO, Accessibility & Best Practices</h1>
<!-- Generated once by WordPress -->
<article class="scc-blog-post">
...
<h2>What are heading tags?</h2>
...
</article>
WordPress rule: before manually inserting an H1 into Elementor or a Custom HTML block, check whether the theme already generates the page or post title as H1.
Do heading tags help AI search and citations?
Clear headings can make sections easier to identify, but current evidence does not support the claim that a perfect H1-H2-H3 hierarchy is required for AI citations. Heading structure should be treated as useful information architecture, not an AI-ranking formula.
Current observational research also shows that AI-cited pages can contain multiple H1 elements or skipped heading levels. Those findings do not mean imperfect structure is preferable; they mean perfect heading hierarchy is not a demonstrated prerequisite for citation.
Evidence boundary: observational relationships do not prove that adding, removing, or rearranging a heading will cause an AI system to cite a page.
For the broader extraction strategy, see our featured snippets and AI Overviews guide .
H1-H3 examples by page type
Blog article
H1 How to Perform a Technical SEO Audit
H2 What is a technical SEO audit?
H2 What should you check first?
H3 Crawling
H3 Indexing
H3 Canonicalization
H2 Technical SEO audit checklist
Service page
H1 Local SEO Services
H2 What our local SEO service includes
H3 Google Business Profile optimization
H3 Local landing pages
H3 Citation cleanup
H2 Who the service is for
H2 How the process works
Ecommerce category page
H1 Men's Trail Running Shoes
H2 Shop trail running shoes
H2 How to choose trail shoes
H3 Cushioning
H3 Grip
H3 Terrain
H2 Frequently asked questions
Product page
H1 Product Name
H2 Product details
H2 Specifications
H2 Shipping and returns
H2 Customer questions
Technical documentation
H1 API Authentication
H2 Authentication methods
H3 API keys
H4 Creating a key
H4 Revoking a key
H3 OAuth
H2 Error responses
Should you fix this heading issue?
Not every crawler warning deserves the same urgency. Use the table below to separate genuine structural problems from harmless imperfections.
| Issue | Google SEO urgency | Accessibility / UX urgency | Recommended action |
|---|---|---|---|
| No clear main heading | Review | Important | Add a descriptive page-level heading when appropriate. |
| Two H1s | Low by itself | Review clarity | Investigate why both exist and remove redundant output when appropriate. |
| H2 → H4 | No documented automatic ranking penalty | Review nesting | Use H3 if the H4 genuinely represents a deeper subsection of that H2. |
| Empty heading | Review | High | Remove the empty heading or provide a meaningful label. |
| H-tag used only for font size | Low direct | Important structural issue | Use the semantically correct element and control appearance with CSS. |
| Exact keyword absent from H1 | Depends on whether topic remains clear | None | Do not force exact-match text when a clearer heading describes the page better. |
| H1 differs from title tag | Usually fine | None | Keep both topically aligned without requiring identical wording. |
| Long H1 | No fixed limit | Readability dependent | Shorten only when doing so improves comprehension. |
Heading-tag myths worth retiring
- “Every page must have exactly one H1 or Google penalizes it.” No documented automatic penalty exists.
- “Skipping H3 destroys SEO.” Logical hierarchy is important for accessibility and clarity, but imperfect numbering is not an automatic ranking penalty.
- “Every H2 needs your keyword.” Describe the section naturally.
- “H1 must be under 60 characters.” There is no such universal H1 rule.
- “H2 carries more ranking power than H3.” The levels primarily describe hierarchy.
- “Question headings guarantee featured snippets.” They can make an answer easy to locate, but selection remains Google's decision.
- “Perfect heading structure guarantees AI citations.” Current evidence does not support that claim.
Frequently asked questions about heading tags
Are header tags and heading tags the same thing?
In SEO discussions they usually refer to the same H1-H6 elements.
“Heading tags” is technically clearer because HTML also contains a separate
<header> element.
What are H1-H6 headings?
They are six HTML heading levels. H1 is the highest level and H6 the lowest. They are used to label a page's main heading and nested subsections.
How many H1 tags should a page have?
One clear H1 is a strong default for most webpages, but multiple H1s do not automatically create a Google penalty. Review whether each H1 has a legitimate role and whether the page still has one obvious main title.
Can I skip from H2 to H4?
An imperfect numerical order is not automatically a Google ranking error. For accessibility and logical structure, it is generally better to preserve sequential nesting when introducing deeper subsections.
Do heading tags help SEO?
They help organize content and place descriptive language in prominent locations. They support clarity and search-intent satisfaction but are not a standalone ranking switch.
Should my H1 contain my main keyword?
Use important topic language when it naturally describes the page. Do not sacrifice clarity simply to force an exact-match phrase.
Should the H1 match the title tag?
They should normally describe the same page topic, but identical wording is not required.
How do I check H1, H2 and H3 tags?
Use the free checker near the top of this guide, browser developer tools, an accessibility outline, or a site crawler. Inspect the rendered page rather than relying only on what the CMS editor shows.
Are skipped heading levels an SEO error?
Not automatically. They can still indicate weaker document hierarchy and should be reviewed for accessibility and clarity.
Do heading tags affect accessibility?
Yes. Headings communicate content organization and allow many assistive-technology users to navigate sections efficiently.
Do heading tags help ChatGPT or AI Overviews?
Clear section labels can support comprehensible content structure, but current observational evidence does not establish a perfect heading hierarchy as a requirement for AI citation.
The one thing to do next
Analyze the rendered page, not just the editor.
Use the checker above on this page or paste HTML from one of your important URLs. Look first for a clear main heading, empty headings, duplicate template headings, and sections whose hierarchy no longer reflects the content.
Then decide whether the issue is an actual user/accessibility problem, a Search concern, or simply a crawler warning before changing the page.
Sources and verification methodology
Search Counsel Co. separates official Search documentation, HTML/reference documentation, accessibility guidance, and observational SEO/AI research rather than presenting all four as equal evidence.
| Topic | Source | Evidence type |
|---|---|---|
| Heading structure for Search | Google SEO Starter Guide | Primary Google Search documentation |
| Prominent headings and title links | Google title-link documentation | Primary Google Search documentation |
| Search language in prominent locations | Google Search Essentials | Primary Google Search documentation |
| H1-H6 semantics | MDN Web Docs | HTML/reference documentation |
| Header vs heading elements | MDN header element | HTML/reference documentation |
| Accessible heading hierarchy | W3C Web Accessibility Initiative | Accessibility guidance |
| AI-cited page heading patterns | Rankability 2026 AI Search Statistics | Observational third-party research |
Last verified: September 3, 2026
HTML standards, browser behavior, Google documentation, AI systems and CMS templates change over time. Where this article cites observational research, the findings are described as observations rather than a private ranking formula.
Conclusion: structure first, SEO myths second
The most useful heading strategy is not “put more keywords in H2s.” It is to give the document one obvious topic, label major sections clearly, nest deeper subsections logically, and use heading levels to describe structure rather than appearance.
For Google Search, remember the evidence boundary: perfect numerical heading order is not a ranking requirement, there is no magical number of headings, and multiple H1s do not automatically equal a penalty.
For accessibility and maintainability, logical hierarchy still matters. That is why one clear H1, descriptive H2s, properly nested subsections, and CSS-driven styling remain strong authoring defaults.
Once the outline is clean, continue with title tags, content optimization, or featured snippets and AI Overviews .
Need a broader page diagnosis?
Do not stop at the H1.
Heading structure is only one part of a page's ranking potential. Search Counsel Co. reviews intent, titles, headings, internal links, content depth, technical signals and competing SERP patterns together.
Editorial note: This guide provides general SEO, HTML and accessibility information—not a ranking guarantee. Always inspect the rendered page because WordPress themes, page builders, JavaScript and plugins can add or alter headings outside the main content editor.
