H1, H2, H3 Tags: Structure Headings for Google and AI
H1 tag SEO: what Google actually does with headings, how many H1s per page, structuring H2 and H3, and how to audit your site in two minutes.
H1, H2 and H3 tags are the headings and subheadings of a web page, written directly in HTML. Visitors see them as larger text, but their true purpose is to signal to browsers, screen readers, Google and AI assistants how the page is structured: the main topic, its sections, and their sequence. Many websites misuse them purely as font size controls, which is where things go wrong. Here is what these tags actually do, what Google says about them, and a straightforward approach to structuring your pages.
What H1, H2 and H3 tags are for
The H1 to H6 tags define headings on a web page, from the most important (H1) down to the least (H6). The HTML specification, which sets the standards for web markup, defines this simply: H1 represents a top-level heading, H2 a section, and H3 a subsection. In the HTML code of a local plumber:
<h1>Plumber in Bristol: Emergency Repairs and Free Quotes</h1>
<h2>Our Services</h2>
<h3>Boiler Repairs and Servicing</h3>
<h3>Burst Pipes and Leak Detection</h3>
<h2>Pricing and Call-Out Times</h2>
<h2>Frequently Asked Questions</h2>
Human readers see a large heading followed by subheadings. Machines see a structured outline: one topic, three main sections, and two subsections inside the first. This outline helps busy visitors scanning the text, individuals using screen readers (software that reads pages aloud and jumps from heading to heading), and search crawlers that must interpret page structure without seeing it visually. In WordPress, Webflow, Framer or Shopify, selecting "Heading 1" or "Heading 2" inserts the corresponding HTML tag. Merely applying bold styling and large font size does not create a heading: the machine only registers styled paragraph text.
What Google actually does with your headings
Google relies on headings to grasp page hierarchy and, at times, to select the title displayed in search snippets. It does not penalise an imperfect sequence.
On the comprehension side, Google's John Mueller summed it up in 2019: H1 headings are "a great way to give more structure to a page, so that users and search engines can understand which parts of a page belong under which kind of heading". When it comes to search snippets, Google's title link documentation lists several sources: the <title> tag, the main visible headline, heading elements such as H1s, the og:title tag, prominent visible text, and inbound anchor text. If your title tag is weak or duplicated across pages, Google may display your H1 instead. Both should convey a consistent message: we cover this relationship in depth in our guide to title tags and meta descriptions.
What Google does not do is demand a flawless heading hierarchy. Its SEO starter guide notes that semantically ordered headings are "great for screen readers", but that "from a Google Search perspective, it doesn't matter if you're using headings out of order", and that there is "no magic number" of headings per page. Headings are therefore not an algorithmic ranking silver bullet. They are tools for clarity, and a clear page is easier to parse, summarise, and cite.
How many H1 tags per page?
Google accepts multiple H1 tags, as does the HTML specification, yet we still recommend sticking to just one.
From Google's perspective, the answer is unambiguous. In September 2019, John Mueller stated that site owners can use "H1 tags as often as you want on a page", adding that a site "will rank perfectly fine with no H1 tags or with five H1 tags" (as reported by Search Engine Journal). In HTML specifications, multiple top-level headings are technically valid. The standard simply expects at least one level-1 heading to exist, and that headings increment logically by one step: skipping directly from H2 to H4 violates web standards.
Why keep to a single H1 regardless? Because it answers one fundamental question: "what is this page about?". Having a single answer is clearer for everyone: a screen reader announces one main title, and Google has an obvious primary candidate for search snippets. Multiple H1s are almost always accidental (a logo wrapped in an H1, or template blocks preconfigured as H1s by page builders). They will not trigger a penalty, but they dilute your core message.
How to structure H2 and H3 headings
H2 headings represent the main sections of a page, H3s cover detailed points within those sections, and you should never skip heading levels. The best approach is to outline your headings before drafting copy, exactly as you would for a formal report.
- One H2 per core idea. A restaurant site might feature "Our Menu", "Book a Table", and "Find Us". A short two-line paragraph does not warrant its own heading.
- H3s strictly nested under an H2. Under "Our Menu": "Lunch Menu", "Evening Dining", and "Allergen Information". Placing an H3 immediately beneath an H1 skips a level.
- Never skip levels. The W3C page structure tutorial is explicit: skipping heading levels "can be confusing and should be avoided". Users navigating by headings may assume they missed an entire section.
- Avoid decorative headings. A customer quote, brand tagline or highlighted price should never be marked as a heading. If text needs visual prominence, handle it with CSS styling.
| Tag | Purpose | Recommended count | Example (accounting firm) |
|---|---|---|---|
| H1 | Primary page topic | 1 (our recommendation) | Chartered Accountants for Small Businesses in Bristol |
| H2 | Main section | 3 to 7 depending on length | Our Services, Fees and Packages, Book a Consultation |
| H3 | Subsection detail | As many as genuine subtopics | Bookkeeping, VAT Returns, Annual Statutory Accounts |
| H4 to H6 | Granular sub-details | Rarely needed on business pages | Specific compliance exemptions |
Writing headings that Google and AI assistants cite
A well-crafted heading states, in a single line using your clients' vocabulary, what question the following section addresses. The opening sentence beneath that heading should deliver the direct answer.
This writing style serves visitors who scan web pages before reading in depth. It equally benefits AI search engines (ChatGPT, Perplexity, Google AI Overviews), which break pages into discrete passages to locate exact answers: a section titled "How much does a brochure website cost?" is far more likely to be cited than a generic "Our Solutions". We explore this methodology further in our guide on how to get cited by ChatGPT and AI search.
Three rules for drafting headings:
- Phrase headings as questions or concise answers. "Initial consultation: do you need an appointment?" works far better than "Practical information".
- Target one keyword per heading naturally. The H1 hosts the primary target phrase, while H2s address genuine sub-queries. Repeating "Bristol plumber" across every H2 helps nobody: Google's SEO guidelines explicitly mark keyword stuffing as a practice to avoid.
- Keep structure consistent across pages. When all your service pages follow a similar pattern ("Who it is for", "How it works", "Pricing"), visitors navigate effortlessly and pages interlink naturally, which strengthens your internal linking.
Headings and accessibility: what WCAG standards require
Headings are also a core accessibility requirement. The Web Content Accessibility Guidelines (WCAG) address headings across two key criteria. Criterion 1.3.1 (Level A, the baseline) requires visual page structure to be programmatically determinable by assistive software, with semantic H1 to H6 elements listed as the recommended technique: bold, oversized text looks like a heading to sighted users, but a screen reader simply sees a paragraph. Criterion 2.4.6 (Level AA) requires headings and labels to describe topic or purpose: when headings are descriptive, notes the W3C, users find information far more efficiently.
Specific accessibility mandates apply across the UK and Europe depending on organisation size and sector, which we summarise in our guide to website accessibility legal requirements in France. The welcome truth is that a website structured cleanly for Google search engines is inherently accessible to screen readers at the same time.
How to audit your heading structure in two minutes
The simplest way to inspect headings is using Lighthouse, built straight into Google Chrome. Open your page, right-click, choose "Inspect", navigate to the "Lighthouse" tab, select "Accessibility", and run the audit. One dedicated test documented by Chrome verifies that "heading elements appear in a sequentially-descending order", flagging skipped levels alongside offending elements. The free browser extension HeadingsMap (available on Chrome and Firefox) displays the entire page outline in a dedicated sidebar.
Key elements to look for:
- A single H1 tag stating the clear subject of the page.
- H2 headings that summarise the page narrative when read in sequence without body copy.
- No skipped heading levels, and no heading tags assigned to decorative elements (logos, buttons, footers).
- Distinct headings across different pages. If every page carries the same H1, Google perceives the entire site as covering a single topic.
Our free site audit tool runs this structural check alongside performance audits and pinpoints exactly what to rectify.
Our take
At Resolve (Re:solve), we draft the heading hierarchy before designing layouts or writing body copy on every single page. It is invariably the first element we examine during an audit, because it reveals within thirty seconds whether a page was carefully structured or simply thrown together.
Struggling websites consistently exhibit identical symptoms: headings chosen purely for font sizing, an H1 wrapped around the site logo, and vague "Welcome" headings that convey nothing. The outcome is rarely an algorithmic penalty, but rather a page that nobody grasps quickly: neither a mobile visitor, nor Google, nor an AI engine looking for an authoritative passage to cite. The remedy is cost-effective, requires no site overhaul, and instantly upgrades readability, accessibility, and search visibility. At Re:solve, it is often the very first optimisation we recommend.
Frequently asked questions
Is an H1 heading strictly necessary on every page?
Google has stated that pages rank fine without an H1, so it is not an absolute search requirement. It remains our firm recommendation for every page: a clear H1 explains the topic immediately to human visitors, assistive screen readers and search bots, giving Google a reliable source for search snippets.
Should the H1 match the title tag exactly?
No, but both must describe the same underlying page. The title tag appears in browser tabs and search engine results, frequently appended with your brand name, whereas the H1 can feel more natural and editorial. A significant mismatch in meaning between the two often prompts Google to rewrite search snippet titles automatically.
Can I resize a heading without altering its hierarchy level?
Yes, and that is precisely the correct method. The heading level (H2, H3) designates structural role within the outline, while font size belongs entirely to your CSS theme stylesheet. If an H2 appears too large visually, adjust its font styling via CSS rather than replacing it with an H4 tag.









