Author: , CTO at Seonate

Updated:

In short

The H1 is the main heading of a page, its title as seen on the page itself. It tells the reader and search engines what the page is about.

You may also meet the name H1 or main page heading.

In the Seonate panel: Page heading

H1 and the page title

The page title (meta title) shows in search results. The H1 shows on the page itself, usually at the top and in the largest type. They can read alike, but they do not have to be identical.

The lower levels, H2 and H3, split the content into parts. Together they form an outline that is easy to move around.

<h1>Accounting for small businesses</h1>
  <h2>What it costs</h2>
    <h3>Package for freelancers</h3>
  <h2>How we work together</h2>
ExampleThe H1 heading check in the Seonate panel
The “Technical health” view in the Seonate panel. The check of the home page H1 heading.

How to write a good H1

The heading should say directly what is on the page. “Accounting for small businesses” works better than “Welcome to our website”.

Google says that for its search engine the order of headings does not matter and that there is no ideal number of headings. In the same place it adds that correct order is a great help to screen readers.1 The HTML standard itself requires the levels to come in order. After an H2 there can be an H3, but not an H4 straight away.3 The standard allows several H1s. MDN, however, recommends one H1 per page.2

Common H1 problems

These problems usually come from the site's template, so they can be fixed in one place.

  • The page has no H1 at all.
  • The logo is marked as the H1 instead of a heading with the topic of the page.
  • The same H1 repeats on many pages.
  • The page has several H1s, while good practice is one that says what the page is about.

Frequently asked questions

How many H1 headings can a page have?

The HTML standard allows several, but good practice is one that says what the page is about. Google says there is no ideal number of headings.

Does the H1 have to match the page title?

No. Both should be about the same thing, but you write the title for search results and the H1 for someone who is already on the page. They often differ, for example by the business name at the end of the title.

In the page code

HTML has six heading elements, h1 to h6. The h1 element is the heading of the highest level. Screen readers, which blind people rely on, move through a page by its headings, and search engines read the layout of the content from them. How a heading looks is set in the styles, not by picking a level.

Headings h1–h6 on MDN

From our practice

For years many sites had only the logo in the H1, an image (img) whose alt attribute was stuffed with keywords about what the business does. The HTML standard says a logo used as a heading must have the company's name in its alt.4 Such a heading is also the same on every page, so it does not say what that page is about. Google explicitly advises against stuffing keywords into alt.5 Today we more often see several H1s on one page, used only because that heading looks nice in the template.

Jerzy KoziełCEO at Seonate

Sources

  1. Google: SEO Starter Guide
  2. MDN: headings h1–h6, usage notes
  3. HTML Standard: headings and outlines
  4. HTML Standard: a logo as a heading and its alternative text
  5. Google: Image SEO best practices
The first plan for your site

See what's
worth improving.

Enter your site's address and get an action plan. 14-day money-back guarantee.