An H1 tag is the primary HTML heading element on a webpage, typically rendered as the largest, most prominent text on the page. It signals to both search engine crawlers and AI language models what the page is fundamentally about. Every page should have exactly one H1, and it must contain the page's primary keyword naturally and accurately.
If you have spent any time learning about SEO, you will have encountered the H1 tag. Yet despite its importance, it is one of the most misunderstood and misused elements in on-page optimisation. Some sites have no H1. Others have five of them. Many have an H1 that bears no relation to the page's target keyword. In 2026, with AI Overviews and generative search engines now dominating the top of the results page, getting your H1 right has never been more consequential.
This guide explains what an H1 tag is, why it matters for both traditional Google SEO and modern Answer Engine Optimisation (AEO), how to write one that works, and the common mistakes that are silently costing UK businesses rankings every single day.
What is an H1 tag, technically?
In HTML, heading elements are defined by tags from H1 through H6. H1 is the highest level — the main heading of the page. H2s are sub-sections, H3s are sub-sections of H2s, and so on. The H1 tag wraps text in the following syntax: <h1>Your Heading Text Here</h1>. Browsers style H1s as the largest text on the page by default, though CSS can override the visual appearance. What cannot be overridden is its semantic weight — search engines treat H1 as a primary signal about what a page covers.
- H1 — the main page heading, signals primary topic (one per page)
- H2 — major sub-sections of the page (multiple allowed)
- H3 — sub-topics within an H2 section
- H4–H6 — deeper nesting for complex documents (rarely needed for most sites)
Why does the H1 tag matter for SEO?
Google's crawlers have indexed the web using HTML structure since the earliest days of the search engine. Heading tags — and the H1 in particular — are a foundational relevance signal. When Googlebot crawls a page, it reads the H1 to understand the page's primary subject. If your H1 contains your target keyword, it tells Google this page is genuinely about that topic. If it does not, you are making the crawler work harder to establish relevance — and in competitive SERPs, that extra friction costs you positions.
Your title tag (<title>) is what appears in search results as the blue clickable headline. Your H1 is what visitors see on the page itself. They can be identical, or they can be different — and often slightly different is better. The title tag should be optimised for click-through rate in the SERP; the H1 should be optimised for on-page relevance and user comprehension.
Extensive analysis of top-ranking pages consistently shows that pages in position 1–3 on Google are significantly more likely to have their target keyword in the H1 than pages ranking in position 10+. This correlation is not coincidental — Google uses the H1 alongside title tags, URL structure, and body content to confirm topical relevance before ranking a page.
H1 tags and Answer Engine Optimisation (AEO)
Here is where most SEO guides about H1 tags stop short: they focus entirely on Google's traditional ranking algorithm and ignore the new search landscape. In 2026, AI-powered tools — Google AI Overviews, Perplexity, ChatGPT Search, and Microsoft Copilot — are now the first point of contact for millions of search queries every day. These systems do not rank pages in the traditional sense; they read content and decide whether to cite it in their synthesised responses.
For AEO, the H1 tag plays an even more direct role than it does for traditional SEO. LLMs and generative AI systems parse HTML structure to understand the document hierarchy. A clear, keyword-rich H1 followed by logically structured H2 and H3 headings creates a machine-readable outline that AI systems can confidently extract information from. Pages with a clear heading hierarchy are significantly more likely to be cited in AI Overviews than pages with flat, unstructured content.
For maximum AEO impact, your H1 should directly answer the core query your page targets. Follow it with H2s that address sub-questions a user might have. Each section should be self-contained and answer a specific question. This structure mirrors how AI models consume and chunk information for synthesis.
How many H1 tags should a page have?
Every page should have exactly one H1 tag. This is one of the clearest best-practice guidelines in on-page SEO and one of the most frequently violated. Having multiple H1 tags sends a confused signal to search engines — it suggests the page is about multiple distinct primary topics, which dilutes its authority for any single query. In HTML5, the spec technically permits multiple H1 tags within distinct sectioning elements, but in practice, Google and other search engines still treat one H1 per page as the best-practice standard.
- Zero H1 tags — crawler has to infer primary topic from body text and title alone; avoidable relevance loss
- One H1 tag — correct; clear primary signal to search engines and AI systems
- Multiple H1 tags — dilutes topical focus; common in CMS templates if not configured carefully
How to write an H1 tag that ranks in 2026
Writing an effective H1 is not complicated, but it does require deliberate thought. Follow these principles for every page you publish:
- Include your primary keyword naturally — not forced or repeated
- Keep it between 20 and 70 characters for readability (no hard limit, but over 70 becomes unwieldy)
- Write for the human first, the algorithm second — your H1 is the first thing a visitor reads
- Be specific — 'UK Charity Registration Service' outperforms 'Charity Services' for both clarity and SEO
- Match user intent — if the page targets an informational query, the H1 should sound like an answer; if it is transactional, it should communicate value
- Avoid keyword stuffing — 'SEO Agency London SEO Services UK' is spam and will be treated as such
- For AEO, consider framing the H1 as the direct answer to a question (e.g. 'What is an H1 tag?' is a valid H1 for an article targeting that query)
Common H1 mistakes UK websites make
Over years of auditing UK websites across every industry, we see the same H1 errors repeated constantly. Fixing any of these is typically a quick technical win that can show ranking improvements within a crawl cycle.
- Using the brand name as the H1 on every page — wastes the most powerful on-page signal on non-keyword text
- H1 hidden by CSS with display:none — invisible to users but still parsed by crawlers; causes a confusing mismatch
- Using a decorative tagline — 'We are your digital partner' tells Google nothing about what the page covers
- Automatically pulling the post date as the H1 in a CMS — surprisingly common in poorly configured WordPress themes
- Using an image instead of text — image text is not parsed as an H1; always use genuine HTML text
- H1 and title tag identical across all pages — this often happens in templates; both should be unique per page
- Page builder tools generating two H1s — many Elementor and Divi configurations create a hero text block as H1 and then also wrap the page title as H1
H1 tags for e-commerce, service pages, and blog articles
The principles of a good H1 apply across page types, but the execution differs slightly depending on context:
Service pages
For service pages, your H1 should name the service and ideally its geographic or audience scope. 'SEO Services for UK Businesses' is categorically better than just 'SEO Services' — it adds a qualifier that helps you rank for more specific queries and clearly communicates relevance to your target audience.
Blog articles
For informational blog content, the H1 is most powerful when it directly mirrors how your target reader would phrase a question. If someone searches 'what is an H1 tag', your H1 of 'What is an H1 Tag?' will be immediately validated as the correct match by both the user and the search engine.
E-commerce product and category pages
For product pages, H1 should be the product name including its key variant or specification. For category pages, it should name the category including any important modifier — 'Men's Running Shoes UK', not just 'Men's Shoes'. The more specific the H1, the less competition you face and the more qualified the traffic you attract.
How to check your H1 tags right now
You do not need specialist software to check your H1. In any desktop browser, right-click any page, select 'View Page Source', and search (Ctrl+F / Cmd+F) for '<h1'. This shows you every H1 element on the page. Alternatively, open DevTools (F12), switch to the Elements tab, and search for h1 in the element tree. For a site-wide audit, tools like Screaming Frog will crawl every URL and export a report showing missing, duplicate, or multiple H1s across your entire site.
Frequently asked questions about H1 tags
Yes. Google's John Mueller has confirmed that heading tags, including H1, help Google understand the structure and topic of a page. While Google's algorithm considers hundreds of signals, the H1 remains one of the most direct and controllable on-page relevance indicators available to site owners.
They can be the same but do not have to be. A common and effective approach is to make the title tag slightly more compelling for click-through in search results (including the brand name or a power word) while making the H1 more descriptive for users who have already landed on the page.
There is no technical character limit for H1 tags, but 20–70 characters is the practical sweet spot for readability. Longer H1s are not penalised, but they become harder to read at a glance and may wrap awkwardly on mobile screens. Aim for clarity over length.
Yes, on the homepage this is often acceptable because the homepage often ranks for brand queries. However, if your homepage also targets a non-brand keyword (e.g. 'digital marketing agency london'), combining the keyword with a brand statement in the H1 is significantly more effective than the brand name alone.
No. CSS styling does not affect how search engines interpret heading tags. You can make an H1 visually small or large without any SEO consequence. What matters is the HTML tag itself, not the rendered font size.