An H1 tag is the top-level HTML heading that names the main content of a page. Unlike the title tag, which appears in search results and browser tabs, the H1 is what visitors see on the page itself. Use one clear H1 that states the topic, then nest H2s and H3s in order so people and machines can follow it.
Headings are a small part of on-page SEO, but they shape how a page is read by everyone who touches it. This guide covers what Google says, what accessibility standards say, and how I structure headings on client pages. It is part of the on-page SEO guide.
What does the H1 do for SEO?
Contents
The H1 tells readers and search engines what the page is about, and it is one of the places Google looks when it builds a title link. Google’s title link documentation lists heading elements such as the H1 among its sources, and advises making the main title the most prominent text on the page, for example by using the first visible H1.
In practice this means your H1 and your title tag should agree on the topic. They do not need to be identical. A common pattern is a shorter, keyword-led title tag for results and a more natural H1 for readers. When the two point in different directions, Google is more likely to rewrite your title link.
Can a page have two H1s?
Yes, technically. HTML allows more than one H1, and Google’s documentation sets no rule requiring exactly one. Google staff have also said in public Q&A sessions over the years that multiple H1s do not cause problems for Search.
My recommendation is still one H1 per page. It is not about a penalty. A single H1 forces you to decide what the page is about, keeps the outline clean for screen reader users, and removes any doubt about which text is the main title. Two H1s usually show up by accident, such as a theme that wraps the logo in an H1 and an editor who adds a second H1 in the content.
On WordPress, check this first. Most themes print the post title as the H1 automatically, so the content itself should start at H2. Adding another H1 in the editor is one of the most common heading mistakes I find in audits.
How should headings be ordered?
Headings should nest like an outline: one H1 for the page, H2s for the main sections, H3s for subsections inside an H2, and so on down to H6. Do not skip levels on the way down, so an H2 should be followed by an H3, not an H4.
The W3C’s headings tutorial puts it plainly: “Skipping heading ranks can be confusing and should be avoided where possible.” It also notes that skipping back up is fine when you close a subsection, so a new H2 can follow an H4.
| Level | Use it for | Example |
|---|---|---|
| H1 | The page’s main topic, once | How to Choose a Water Heater |
| H2 | Each main section | What size water heater do you need? |
| H3 | A subsection inside one H2 | Tank versus tankless sizing |
| H4 | Rare, for detail inside an H3 | Sizing for a two-bathroom home |
Two practical rules help:
- Choose heading levels for structure, not for font size. If you want smaller text, change the style, not the level.
- Keep sidebars and footers consistent. The W3C tutorial notes that headings in fixed areas such as sidebars should not change rank based on the content area.
Does heading order affect rankings?
Not according to Google. Its SEO starter guide says having headings in semantic order “is fantastic for screen readers,” but from Google Search’s perspective “it doesn’t matter if you’re using them out of order.” It adds that there is “no magical, ideal amount of headings a given page should have.”
So why bother? Because headings still matter in ways that affect results indirectly. Clear headings make a page easier to scan, which helps readers find their answer. They make each section’s topic obvious to any system that reads the page in passages. And they are an accessibility requirement, covered below. Treat heading order as good practice and good usability rather than a ranking factor.
Why use question headings for AEO?
Question headings help answer engines because they mirror the questions people ask and make each section a self-contained answer. A heading like “How long does a tankless water heater last?” followed immediately by a one- or two-sentence answer is easy for a person to scan and easy for a system to extract.
This is industry practice and my opinion, not a documented Google rule. Google does not publish a heading format that guarantees a featured snippet or a citation in an AI answer. What I have seen consistently is that pages structured this way are easier to quote accurately. The approach is covered in more depth in answer-first writing and how to get featured snippets.
How to write question headings that work:
- Use the question the searcher actually types, drawn from “People also ask,” your sales calls or Search Console queries.
- Answer it in the first one or two sentences under the heading, before any background.
- Keep the answer accurate on its own, so it still makes sense if quoted without the rest of the page.
- Do not force it. Some sections read better as statements, such as “Common mistakes” or “Pricing.”
What does accessibility guidance say about headings?
Accessibility guidance treats headings as structure that must be coded, not just styled. WCAG success criterion 1.3.1, Info and Relationships, requires that structure conveyed through presentation can be programmatically determined, and lists “Using h1-h6 to identify headings” as a sufficient technique.
In plain terms, text that looks like a heading must be marked up as a heading. Bold paragraphs styled to look like section titles do not count. The W3C tutorial explains that browsers, plug-ins and assistive technologies use headings to provide in-page navigation, so screen reader users can jump from section to section instead of listening to the whole page.
An accessibility checklist for headings:
- Every page has a heading that names its main content.
- Visual headings are real heading elements, and real heading elements are not used just for big text.
- Levels nest without skipping on the way down.
- Heading text is descriptive on its own. “More information” tells nobody anything.
- Headings are not empty, and they are not images of text.
How do you audit headings across a site?
Crawl the site and export the H1 and the heading outline for every page. Look for missing H1s, duplicate H1s across different pages, more than one H1 on a page, H1s that do not match the title tag, and outlines that skip levels. Browser extensions that show a page’s heading outline are useful for spot checks.
Then fix the template before the pages. A missing or doubled H1 is usually a theme setting, and one template fix can correct hundreds of URLs at once. Pair this with a review of your meta descriptions and how headings describe the entities on the page, as covered in the semantic SEO guide.
FAQ
Can a page have two H1s?
Yes. HTML allows it and Google does not penalize it. I still recommend one H1 per page because it keeps the topic and the outline clear for readers and assistive technology.
How should headings be ordered?
Use one H1, then H2s for main sections and H3s for subsections inside them. Do not skip levels going down, though jumping back up to a new H2 after an H3 or H4 is fine.
Should the H1 match the title tag?
They should describe the same topic, but they can be worded differently. A big mismatch makes it more likely that Google rewrites the title link shown in results.
Do headings help with AI answers?
Clear, question-style headings followed by direct answers make sections easier to extract and quote. No AI product documents exact rules for this as of late 2026, so treat it as good practice rather than a guarantee.
Want your page structure checked?
If your templates produce missing or doubled H1s, or your pages are hard to scan, it is usually a quick fix with a big payoff. A technical SEO review covers headings across the whole site, or talk to me about your pages.