What is an H1 tag
H1 is an HTML first-level heading tag <h1>. It is the main heading of a page, displayed to users and indexed by search engines as the page’s primary topic.
<h1>Купить iPhone 16 Pro в Москве — официальный магазин Apple</h1>In the heading hierarchy, H1 comes before H2, H3, and so on—like chapters and subchapters in a book.
Why H1 matters for SEO
H1 is one of the direct on-page ranking signals:
- Page topic — tells the search engine what the page is about
- Keywords — Google gives H1 additional weight
- Structure — helps the search engine understand the content hierarchy
- Snippet — Google sometimes uses H1 instead of the title in the SERP
Rules for using H1
One H1 per page
It is recommended to use one H1 per page—it is the main heading. Multiple H1s are allowed in HTML5, but one is preferable for SEO.
<!-- Правильно: один H1 -->
<h1>Главный заголовок страницы</h1>
<h2>Первый подраздел</h2>
<h3>Подраздел внутри первого</h3>
<h2>Второй подраздел</h2>Uniqueness
Each page should have a unique H1 that reflects its content. Duplicate H1s are a signal of low-quality content.
Keywords
Include the page’s main search query in the H1. There is no need to insert every possible keyword—include one main query naturally.
H1 vs. title
Title (для поисковиков, 50-60 символов):
"Купить iPhone 16 Pro в Москве | TechStore"
H1 (для пользователей, любая длина):
"iPhone 16 Pro — купите официально с гарантией Apple"
The H1 and title can differ. The title is optimized for the SERP, while the H1 is for site visitors.
Heading sizes and styles
<!-- Семантическая иерархия -->
<h1>Ноутбуки Apple MacBook</h1>
<h2>MacBook Air</h2>
<h3>MacBook Air M3 13"</h3>
<h3>MacBook Air M3 15"</h3>
<h2>MacBook Pro</h2>
<h3>MacBook Pro 14"</h3>Do not skip levels (H1 → H3 without H2)—this violates semantic structure.
/* Визуальный размер можно изменить через CSS — семантика важнее внешнего вида */
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 600; }Common mistakes
- Using the site logo as an H1 (a logo is not a page heading)
- A hidden H1 (display: none or white text on a white background)
- An empty H1 (
<h1></h1>) - An H1 consisting only of an image with no alt text
- The same H1 on every page
Check headings with reChecker
Use Meta tag checker to analyze the H1 and other headings on your page. The tool will show:
- Whether an H1 is present and its content
- The number of H1s on the page
- Heading length
- Whether the heading structure follows the hierarchy
FAQ
Is an H1 required on every page? Technically, no, but it is recommended. A page without an H1 sends a less clear signal to search engines. Google can determine a “heading” from the content itself, but this is less reliable.
Can an H1 be long? There is no length limit, but an H1 should be clear and readable. Ideally, it should be 50-80 characters—long enough for keywords without being overloaded.
Should the H1 be repeated in the page text? No. The H1 is a separate markup element. Keywords from the H1 should appear naturally in the text, but there is no need to duplicate the H1 deliberately.