Top Rankings

Top Rankings

H1 SEO: How to Write and Fix H1 Tags

Short answer: the H1 is the main visible headline of a page, marked up with the <h1> tag. For H1 SEO, give every important page one clear H1 that states what the page is about, includes the main search term in natural words, and agrees with the title tag. Google can cope with more than one H1, but a single, specific H1 is easier for readers, screen readers and search engines to interpret.

What is an H1 tag?

HTML has six heading levels, <h1> to <h6>. The H1 is the top level: the headline a visitor reads first, usually in the largest type on the page. Everything below it is organised with H2 sections, H3 sub-sections and so on, like chapters and sub-chapters in a book.

The H1 is not the same thing as the title tag. The title tag sits in the page’s <head> and is what browsers show in the tab and what Google usually shows as the blue link in results. The H1 sits in the page body and is what people see once they arrive. They should agree with each other, but they do different jobs.

H1 tag examples

Here is what an H1 looks like in HTML, followed by the H2 and H3 headings that sit under it:

<h1>Emergency Plumber in Austin, TX</h1>
  <h2>Plumbing problems we fix the same day</h2>
    <h3>Burst pipes</h3>
    <h3>Blocked drains</h3>
  <h2>Areas we cover</h2>
  <h2>Frequently asked questions</h2>

And here are weak and strong H1s for different page types:

Page type Weak H1 Stronger H1 Why
Service page Welcome Emergency Plumber in Austin, TX Says what is offered and where
Blog post Some thoughts on headings H1 SEO: How to Write and Fix H1 Tags Matches the topic people search for
Product page Product details Waterproof Hiking Boots for Women Names the product and the buyer
Category page Shop Men’s Running Shoes Matches the category search
Home page Home Bookkeeping for Small Businesses in Leeds States the business, not the page name

The weak versions are not wrong HTML. They are just headlines that tell nobody, human or crawler, what the page is for.

Why the H1 matters for SEO

It tells search engines what the page is about. Headings are one of the clearest structural signals on a page. Google’s own documentation on title links lists the main visual title and heading elements such as <h1> among the sources it may use when it writes the blue link shown in results (Google Search Central: title links). A vague H1 gives Google less to work with, and a clear one can even influence how your result is labelled.

It keeps visitors on the page. Someone who clicked a result wants to confirm within a second that they landed in the right place. A headline that echoes what they searched for does that. A generic one makes them press back.

It helps accessibility. Screen reader users often move around a page by jumping from heading to heading. A clear H1 followed by a logical order of H2s and H3s makes the page usable for them, and the same structure makes it easier for search engines to understand the page.

Can a page have more than one H1?

Yes, technically. HTML allows it, and Google’s John Mueller has said more than once, including in a 2019 Search Central video, that multiple H1 headings are not a problem for Google’s systems. So two H1s will not get a page penalised.

We still recommend one H1 per page, for practical reasons:

  • One H1 forces a decision about what the page is really about. Pages with two or three H1s are often pages trying to target two or three topics.
  • Screen reader users expect one top-level heading to orient them.
  • Most site audit tools flag multiple H1s, which creates noise in every report until it is fixed.

The more common problem is an H1 nobody chose: a duplicate created by the theme, which we cover below.

H1 tag best practices

1. Use one H1 that states the page’s topic

Write it the way a person would describe the page in a few words. If you cannot write a specific H1, the page probably lacks a clear purpose.

2. Include the main search term, naturally

Put the phrase you want the page to rank for in the H1, near the start where it reads naturally. Do not repeat it or bolt on variations; one clean mention is enough. If you use Yoast or a similar plugin, this is usually the same phrase as your focus keyphrase.

3. Keep it short enough to read at a glance

Google publishes no character limit for H1s. A common convention is to stay under about 60 to 70 characters, mainly because a short headline is easier to scan and works as a title link if Google chooses to use it. Clarity matters more than the exact count.

4. Make the H1 and title tag agree

They do not have to match word for word. The SEO title is written to win the click in search results and often carries the brand name or a hook; the H1 is written for the reader already on the page. What matters is that they describe the same thing. If the title promises a pricing guide and the H1 says “Our Story”, visitors leave and Google may rewrite your title link.

5. Give every important page an H1

Pages built visually in page builders sometimes end up with no H1 at all, because the big hero text was styled as a paragraph or a smaller heading. Check the HTML, not just how the page looks.

6. Build a logical heading order under it

Use H2s for the main sections and H3s inside them. Choose heading levels for structure, not for font size; if you want an H2 to look smaller, change it with CSS.

The duplicate H1 problem in WordPress themes

The most common H1 problem we find is not a badly written headline. It is a second H1 that the site owner never sees.

A real example from our own site: serpwize.com runs WordPress with the Hello Elementor theme. The theme’s single-post template prints the page title as <h1 class="entry-title">. Our design hid that title block with CSS, and each page had its own visible H1 built in Elementor. On screen there was one headline. In the HTML there were two H1 tags on every service page, because CSS that hides an element does not remove it from the code.

We fixed it by stopping the theme from printing its title on pages whose Elementor layout already contains an H1, and keeping it on pages that have no H1 of their own, so no page ends up with none. The general lesson:

  • Hiding a heading with CSS does not remove it from the page’s HTML.
  • The page editor shows you one headline; the rendered source can show two.
  • Any fix must leave exactly one H1, never zero.

The same pattern turns up with other themes, header templates that wrap the logo in an H1, and widgets whose default heading level is H1.

How to check the H1 tags on your site

  1. One page: open the page, right-click and choose View Page Source, then search for <h1. Count the results. Browser developer tools work too, and show headings that are hidden on screen.
  2. The whole site: run a crawler such as Screaming Frog, Sitebulb or the site audit in Semrush, Ahrefs or Moz. Filter for pages with a missing H1, more than one H1, or an H1 identical to another page’s.
  3. Check rendered HTML, not the editor. Page builders and themes add markup the editor never shows you. Our duplicate above was only visible in the source.
  4. Fix at the template level. If dozens of pages share the problem, the cause is a template, not the pages. Fix it once in the theme or with a small code change, then recrawl to confirm.

H1 checks belong in any SEO audit and on every SEO checklist.

H1 vs H2 vs H3: how headings work together

Level Job How many per page
H1 The page’s main topic One
H2 Main sections of that topic As many as the content needs
H3 Sub-points inside an H2 section As needed, only under an H2
H4 to H6 Deeper nesting, rarely needed Rare on most pages

Read only the headings of a well-built page and you get its outline. That is a useful test: if the headings alone do not tell the story, the structure needs work.

Frequently asked questions

What is H1 in SEO?

The H1 is the main headline of a page, marked up with the <h1> HTML tag. In SEO it matters because it tells readers and search engines what the page is about, and Google may use it when it writes the title link shown in search results.

Does having two H1 tags hurt rankings?

Not directly. Google has said multiple H1s are not a problem for its systems. One H1 per page is still the better practice, because it keeps the page focused, helps screen reader users and keeps audit reports clean.

How long should an H1 be for SEO?

There is no official limit. Most guides suggest staying under about 60 to 70 characters so the headline is quick to read. Make it specific before you make it short.

Should the H1 match the title tag exactly?

No. They should describe the same topic, but the title tag is written to earn the click in search results and the H1 is written for the reader on the page. Small differences in wording are normal.

What is the difference between H1, H2 and H3?

The H1 is the page’s main headline. H2s divide the page into main sections, and H3s break those sections into smaller points. Together they form the page’s outline.

How do I check for duplicate H1 tags on my site?

For one page, view the page source and search for <h1. For a whole site, run a crawler and filter for pages with more than one H1. Always check the rendered HTML, because themes can add hidden H1s the editor does not show.

Serpwize catches and fixes duplicate H1 and heading structure issues as part of every technical audit. See our SEO outsourcing service.

On this page

Outsource it, done right

Get a free scope and quote for your SEO. No pressure, no lock-in.

Get a free quote
Trusted by agencies across the US, UK & Australia

Serpwize

We Don’t Sell Packages. We Sell Outcomes.
Choose the growth path that matches your ambition. We’ll tailor the execution after a free consultation.

Visibility

Momentum

Authority+

Outcomes vary based on competition, site health, and market conditions