On-Page SEO
H1 tag: how to write it right — complete guide

What H1 is, why search engines need it, how it differs from title, and how to write a page heading that ranks.
What is H1 and why search engines need it
H1 is the HTML first-level heading tag. It marks the main heading of a page — what the page is about. Unlike the <title> tag, which only appears in the browser tab and search snippet, H1 is visible directly on the page — it is the first thing a user sees after the page loads.
For a search crawler, H1 is one of the strongest on-page signals: it communicates the topic of the document. If title answers "what is this" in the SERP, H1 answers the same question once the user is already on the page. The closer they align in meaning, the cleaner the signal for the search engine.
H1 by the numbers
On-page signal
H1 is one of the three strongest on-page ranking factors alongside title and page content
Google pulls from H1
Share of cases where Google uses H1 text instead of title for the snippet headline (Zyppy, 2021)
H1 per page
One page must have exactly one H1. Multiple H1s dilute the relevance signal
Characters
Recommended H1 length: long enough to include the keyword, short enough to be readable at a glance
The syntax is straightforward: the <h1> tag goes inside <body>, contains the main heading text, and is typically the first prominent element on the page. Content management systems (WordPress, Webflow, Shopify) often auto-generate H1 from the page or post title — but that is not always the right result.
<body>
<h1>Buy Winter Welders' Workwear Wholesale</h1>
<p>Catalogue of fire-resistant suits and gloves from the manufacturer...</p>
</body>One page — one H1, always
This rule is not just a recommendation — it is the foundation of correct content hierarchy. When a page has multiple H1 tags, the search engine cannot tell which one is primary. The result: a diluted signal, reduced relevance, and in the worst case, none of the headings registers as the main topic.
The heading structure on a page should resemble a book's table of contents: one H1 (the book title), several H2s (chapters), H3s inside each chapter (sub-sections). Breaking this hierarchy reduces machine-readability and complicates crawling.
One H1 per page
The main heading must be exactly one. It marks the topic of the entire document — not a section or block, but the whole page.
H2 for sections
Use H2 for major thematic blocks. Well-written H2s can rank for secondary queries and attract traffic through featured snippets.
H3–H6 for hierarchy
H3 and below help structure long content. They do not provide a direct SEO boost, but they improve readability and in-page navigation.
How to write a good H1
A good H1 is not an advertising slogan and not a list of keywords. It is a precise, concrete description of what the user will find on the page. A few principles that hold up in real projects.
Put the main search query in H1. It does not have to be the very first word, but the keyword must appear naturally. Not: "We are happy to offer welders' clothing for purchase". Yes: "Welders' workwear wholesale — buy from manufacturer".
H1 must describe this page, not the site as a whole. "Product catalogue" is weak. "Winter welders' workwear catalogue 2026" is strong. Specificity improves both relevance and CTR.
Do not repeat keywords multiple times in a single H1. "Buy workwear, workwear wholesale, workwear price" is stuffing. Google detects it and may demote the page. One natural keyword occurrence is enough.
H1 is not pixel-limited like title, but an excessively long heading reduces readability and dilutes the topical focus. The ideal: one sentence that is completely readable at first glance.
H1 is the first thing a user sees on the page. It must confirm they landed in the right place. Natural language — no artificial constructions — is the best strategy for both people and search engines.
H1 vs title tag: what's the difference
H1 and title are often confused — and that leads to errors in both. Understanding the difference lets you use each element correctly.
| Criterion | H1 | Title |
|---|---|---|
| Where it appears | On the page — first visible heading in content | In the browser tab and Google snippet |
| Who sees it | User on the page | User in search results, before clicking |
| SEO impact | Page topic signal, content structure | Primary on-page ranking signal and CTR driver |
| Length | 20–70 chars, no hard pixel limit | 50–60 chars (~600 pixels in SERP) |
| Must be unique | Yes, site-wide | Yes, site-wide |
| Duplication risk | Fine if it matches title in meaning | Google rewrites if it diverges from H1 |
| Count per page | Exactly 1 | Exactly 1 (inside <head>) |
Best strategy: H1 and title align in meaning but can differ in wording. Title is shorter and optimised for CTR in the SERP. H1 is slightly longer and written for the user who has already landed on the page. A large gap between them is the main trigger for Google rewriting your title from H1.
Good and bad H1 examples
A direct comparison teaches more than ten rules. Below are real-world situations from SEO audits, with an explanation of why each variant works or fails.
| Page type | Bad H1 | Good H1 |
|---|---|---|
| Shop category | Catalogue | Winter welders' workwear — buy wholesale |
| Product card | Welding suit | TK-1 fire-resistant welding suit GOST certified |
| Blog article | About SEO | How to write the H1 tag correctly: complete guide |
| Service page | Our services | SEO audit: technical analysis delivered in 5 days |
| Homepage | Welcome! | Workwear manufacturer wholesale — SpecOpt |
| Glossary | Glossary | What is H1: definition and rules for filling it |
Notice the pattern: bad H1s describe the page type ("catalogue", "services"), while good ones describe the specific content. A search crawler cannot infer content from the word "catalogue" — it expects specifics.
Common mistakes and how to avoid them
The same errors appear repeatedly in audits across hundreds of sites. Here is the shortlist — with root cause and fix.
- Missing H1. A page without H1 loses one of its main on-page signals. Common in custom templates or after site migrations. Find with Screaming Frog → H1 → Missing.
- Multiple H1s on the page. Usually caused by visual builders wrapping blocks in H1 "for styling". Find with Screaming Frog → H1 → Multiple. Fix: keep one H1, replace the rest with H2 or a div.
- H1 = site name. A CMS template that injects the site name into H1 on every page. Creates site-wide duplicates and zero relevance. Fix: configure the template per page type.
- H1 doesn't match the page topic. Content about welding safety standards, but H1 says "Buy workwear". The crawler sees a mismatch. Fix: H1 must accurately reflect what the document is about.
- Keyword stuffing. "Workwear buy workwear wholesale price workwear" is not SEO — it's a filter trigger. One natural keyword mention is the maximum.
- H1 inside an image. Text in an image is invisible to crawlers. Always put H1 in HTML markup, even if it visually resembles a designed graphic.
- Hidden H1.
display: noneorvisibility: hidden— Google treats this as manipulation and may ignore the tag or penalise the page.
<h1>. Zero results — H1 is missing. Two or more — duplicate. For site-wide checks use Screaming Frog or Netpeak Spider.FAQ
Answers to the questions that come up most often in audits and consultations about the H1 tag.