Skip to the content
Start free

H1 tag

An H1 tag is the HTML element, written <h1>, that marks the main heading of a page: the one line that tells a visitor, a screen reader and a search engine what the whole page is about. Most pages should have exactly one, near the top, that matches the topic of the title tag without having to copy it word for word.

What is an H1 tag? #

HTML has 6 heading levels, from <h1> down to <h6>. The H1 is the top level. It sits in the visible page, unlike the title tag, which shows in the browser tab and often in search results. A product page might look like this:

<title>Glass Kettle 1.7 Litre | Example Shop</title>
...
<h1>Glass Kettle, 1.7 Litre</h1>
<h2>Features</h2>
<h2>Delivery and returns</h2>

MDN’s reference for heading elements says a page should generally have a single H1 that describes its content, much like the title element.

How many H1 tags can a page have? #

The HTML standard allows more than one, as long as they are not nested. MDN still says several H1s on one page is not considered best practice, and asks you to prefer one. Google is relaxed about the count. Its SEO starter guide says there is no magical, ideal amount of headings a page should have. So 2 H1s will not get a page punished. They do blur which line is the main title, and that is the real cost.

Google often builds the blue link in results from more than the title tag. Its guide to title links lists heading elements such as the H1, and the main visual title on the page, among its sources. When a page has more than one big, equal heading, the same guide says Google may use the first one. Its advice is to make the main title distinctive, for example by putting it in the first visible H1.

A clear H1 also helps on-page SEO in a plainer way. It confirms the topic for the reader in 1 line, which matches the search intent that brought them. A page whose H1 says “Welcome!” wastes its most visible words.

Why does it matter for AI answers? #

AI systems split pages into chunks and look for the passage that answers a question. Headings are the natural seams. An H1 that names the subject, followed by H2s phrased as questions, gives a large language model a clean outline to work from. Google says the usual SEO best practices still apply to AI Overviews and AI Mode, as its guide to AI features puts it. Good structure is part of those basics and of answer engine optimisation.

Why does it matter for people using screen readers? #

MDN notes that a common way to use screen reader software is to jump from heading to heading to learn what a page contains. Most screen readers can also list every heading on the page. The W3C’s headings tutorial calls rank 1 the most important heading and says skipping ranks can be confusing and should be avoided where possible. This is a core part of web accessibility.

Does heading order matter? #

For Google rankings, not much: the starter guide says it does not matter if headings are out of order, though semantic order is great for screen readers. For people, it matters a lot. Follow the W3C rule: an H2 should not jump straight to an H4. Going back up is fine, so an H4 can be followed by a new H2.

Common mistakes #

  • The logo as the H1. Many themes wrap the site name in an H1 on every page, so every page has the same main heading.
  • No H1 at all. The main title is styled big but coded as a plain paragraph.
  • Headings for size. MDN says not to use heading elements to resize text; use CSS font-size instead.
  • Two equal H1s. A slider headline and the product name both marked H1, leaving Google to guess.
  • Stuffed headings. “Kettles Kettle Shop Cheap Kettles UK” reads as keyword stuffing.
  • An H1 that disagrees with the title tag. If they point at different topics, the page sends mixed signals and can feed keyword cannibalisation.
  • Hidden H1s. Text hidden from visitors but shown to bots drifts towards cloaking.

A worked example #

A UK garden centre audits its rose category page and finds this outline:

Before After
H1: Green Fingers Garden Centre (logo) Logo as a plain linked image
H1: Summer Sale Now On! Paragraph banner, no heading
H3: Roses H1: Climbing and rambling roses
H4: How to plant H2: How do I plant a climbing rose?
H4: Delivery H2: Delivery and returns

The page now has 1 H1 that names its topic, and a clear ladder below it. The title tag reads “Climbing Roses | Green Fingers”, so the 2 agree without being identical.

How to check it #

  1. See the full H1 to H6 outline of any page with our Heading Checker. Our Multiple H1 Fix plugin page explains the theme problem above.
  2. Read the title tag and description that pair with the H1 using our Meta Tag Checker.
  3. Check the whole page in one pass with our SEO Checker and the plain wording with the Readability Checker.
  4. Test how well the headings map to real questions with the heading answer gap finder, and how ready the page is for AI with our AI Readiness Checker.
  5. Compare your outline with a rival’s using Compare Two Websites.
  6. In URSY Pro, the answer-first checker and site audit flag missing or doubled H1s across every page.

Questions #

Should the H1 match the title tag? #

Same topic, not necessarily the same words. The title tag can add the brand; the H1 can be friendlier.

Is a missing H1 a ranking penalty? #

No. Google does not say so. It is a clarity and accessibility loss, which is reason enough to fix it.

Can the H1 be an image? #

It can wrap an image with good alt text, but real text is clearer for every reader and every machine.

How long should an H1 be? #

There is no official limit. Keep it to one short line that names the page.

Sources #

Updated 24 November 2026 by URSY.com.

Cite this page: H1 tag. URSY. Updated 26 November 2026. https://ursy.com/wiki/h1-tag/ · Section links

Tools for this

All 871 wiki entries, A to Z →