9 min read
What Is an H1 Tag? How to Write H1 Headings for SEO
The H1 tag is the main heading of a page. It will not rank a weak page on its own, but a clear H1 helps readers, screen readers and Google understand what the page is about. Here is how to write one and check it across a site.

The H1 tag is the main visible heading of a web page, the line that tells a visitor where they have landed. It is one of the simplest on-page elements to get right and one of the most frequently broken by templates, page builders and redesigns. This guide covers what the H1 does, how it differs from the title tag, and how to check it across a whole site.
What is an H1 tag?
An H1 tag is the HTML element <h1>, the top level of six heading levels (h1 to h6). It marks the main heading of a page and usually states the topic in a few words for readers and search engines.
Headings form an outline. The H1 names the page, H2s divide it into sections and H3s break sections into smaller parts. Browsers, screen readers and search engines all use this structure: people using screen readers often jump from heading to heading to scan a page, much as sighted visitors skim bold headings.
For Google, the H1 heading is one of the clearest hints about a page's subject. Google's documentation on title links lists heading elements such as <h1> among the sources it may use when it writes the clickable title in search results, and advises making the main title clear, for example in the first visible <h1>.
H1 vs title tag: what is the difference?
The two are often confused because they usually say similar things. The title tag lives in the page's head and appears in the browser tab and as the main source for the search result title. The H1 sits in the page body and is what a visitor reads after the click.
| Aspect | H1 heading | Title tag |
|---|---|---|
| Where it appears | On the page, usually at the top of the main content | Browser tab, bookmarks, search result title link |
| Who reads it | Visitors who have already arrived | Searchers deciding whether to click |
| Role in Google | Signal of the page topic, one possible source for the title link | Main source for the title link |
| Typical content | Plain statement of the topic | Topic plus useful modifiers, often the brand |
| How many per page | One is best practice | Exactly one |
H1 tag example in HTML
On a page about running shoes, the heading structure might look like this:
<h1>Trail Running Shoes for Wet Ground</h1> ... <h2>How to choose the grip</h2> ... <h3>Lug depth</h3> ... <h2>Sizing and fit</h2>
The H1 names the page, each H2 opens a section and the H3 sits inside its section. The title tag for the same page could read "Trail Running Shoes for Wet Ground | Brand", close to the H1 but with room for the brand.
H1 SEO best practices

Good H1 tag SEO comes down to one clear, specific heading per page that states the topic in the words your audience uses, stays readable on a phone and agrees with the title tag without copying it mechanically.
Use a single H1 per page
HTML allows more than one <h1>, and Google can cope with several. Still, MDN's guidance on heading elements recommends one H1 per page, because a single top-level heading makes the outline clearer for screen reader users and for anyone maintaining the code. Logos, site names and sidebar titles should not be marked up as H1.
Include the main topic naturally
If people search for "trail running shoes", the heading should contain that phrase or a close variant, in a sentence a person would write. A heading that only makes sense once you have read the page, such as a clever pun, leaves both readers and crawlers guessing.
Keep the H1 length readable
There is no official H1 length limit. A practical guide is to fit the heading on one or two lines on a phone, which usually means staying well under about 70 characters. "Trail Running Shoes for Wet Ground" is clear in 34; a heading that lists every product feature is not.
Align the H1 with the title tag
The title tag and H1 should describe the same topic, so a searcher who clicks finds what the result promised. They do not have to match word for word: the title may add the brand, the year or a benefit, while the H1 can be shorter and more direct.
Avoid keyword stuffing and generic headings
Headings such as "Welcome", "Home" or "Products" say nothing about the page. The opposite mistake, repeating a keyword three times in one heading, reads as spam to people and adds no extra signal for search engines.
H1 heading examples for common page types
A good H1 heading depends on the page type: it names the service, category, product or question the page covers, in the words a visitor would use, without slogans or filler. These pairs show the difference.
- Home page. Weak: "Welcome to our website". Better: "Accounting Services for Small Businesses in Leeds".
- Service page. Weak: "What we do". Better: "Commercial Roof Repair and Maintenance".
- Category page. Weak: "Products". Better: "Oak Dining Tables".
- Product page. Weak: "Best seller!". Better: the full product name with model or size, such as "Nordic Oak Dining Table, 180 cm".
- Blog article. Weak: "Some thoughts on pricing". Better: "How to Price a Consulting Project".
Each better version could stand alone as a search result and still make sense. That is a useful test for any heading you write.
Common myths about H1 and SEO
Most H1 myths either overstate its power or dismiss it entirely. In reality, the H1 is a clarity signal: it helps search engines and people understand a page, but it does not lift weak content by itself.
Myth: the H1 directly lifts rankings
Rewriting a heading rarely moves a page on its own. The H1 contributes to how well a page's topic is understood, alongside the title, the body text and links. A precise H1 on thin content will not outrank a thorough page with an imperfect heading.
Myth: multiple H1 tags will get a page penalised
There is no penalty for several H1s. Google's SEO Starter Guide says there is no ideal number of headings and that heading order does not matter for Google Search. The case for a single H1 is about accessibility and clarity, not about avoiding a penalty.
Myth: the H1 must match the title tag exactly
Identical text is fine, but not required. What matters is that both describe the same page. If the title tag describes the page poorly, Google may build the title link from other text instead, and the H1 is one of the places it looks.
Myth: big bold text works just as well
Styled paragraphs may look like headings, but assistive technology does not treat them as such, and the outline of the page disappears. Use heading elements for structure and CSS for appearance, never the other way round.
Myth: H1 tags no longer matter
Search engines are better at reading pages than they were, but a clear heading still helps them and still tells visitors they are in the right place within a second of landing.
How to audit H1 headings on your site
An H1 audit checks that every indexable page has exactly one visible H1, that it is unique, readable and relevant, and that it matches the intent behind the queries the page is meant to answer.
Manual inspection
- Open the page, right-click the main heading and choose Inspect to see which element it really is.
- Search the rendered code in developer tools for "<h1" and count the results.
- Compare the rendered DOM with the raw source: on JavaScript-heavy sites the H1 may exist only after rendering.
- Check that the H1 is visible and not hidden off-screen or inside a collapsed element.
Using SEO audit tools
Crawlers such as Screaming Frog SEO Spider collect every page's H1 in one table, with filters for missing, duplicate, multiple and overly long headings. Site audit modules in Ahrefs and Semrush flag similar problems. Export the list, sort by template and fix the template first: one faulty template can break thousands of pages.
Checking relevance, length and intent
Read each H1 alongside the title tag and the queries the page receives in Search Console. Look for headings that promise a guide when the page sells a product, category pages that all share one generic heading, and filtered or paginated URLs that repeat the parent H1. These issues show up regularly in an SEO audit and are usually quick to correct.
Headings are part of a page's technical foundation along with titles, rendering and structured data; QIO reviews them together in its technical SEO work.
Sources
Questions and answers
What does H1 mean in HTML?
H1 stands for heading level one, the highest of the six heading levels in HTML. It marks the main heading of a page.
How many H1 tags should a page have?
One is the recommended practice for clarity and accessibility. Several H1s are valid HTML and do not trigger a Google penalty, but they blur the page outline.
Should the H1 and the title tag be the same?
They should describe the same topic, but they can differ in wording. Titles often add the brand or a qualifier that would look odd in an on-page heading.
Can a logo be the H1?
It is better not to use the logo as the H1. The logo is the same on every page, while the H1 should describe the specific page.
What happens if a page has no H1?
Nothing is penalised, but Google and screen reader users lose a clear statement of the page topic. It is usually a template issue worth fixing.
Follow the journal
New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.


