📑
SEO & marketing

H1, H2, H3: heading structure and the right hierarchy for SEO

01.12.2026
← All articles

What heading tags actually do

The <h1> to <h6> tags are not there to make text bigger; they define the logical outline of a document. Browsers style them visually, but for search crawlers, screen readers and AI-driven search tools they act as the page's table of contents. That is how a crawler tells the main topic from a section and a section from a minor detail. Heading levels should therefore follow meaning, not design.

Many site owners treat headings as font sizes: the "Contact us" line in the footer becomes an H2 because it looks nicer, or product prices are marked up as H4. The outline gets tangled and the main topic is lost among noise. Control appearance with CSS and build the hierarchy from the content alone.

H1: one main topic per page

The H1 states in one line what the page is about, usually the article title, the product name or the core offer of a service page. HTML5 technically allows several H1 elements and Google has said it does not penalise that, but in practice a single clear H1 per page is the most readable option for people and crawlers alike.

The H1 and the <title> tag do not have to match. The title appears in search results and should be short and clickable, while the H1 greets someone who has already arrived. A clinic page might use the title "Dental implants in Tashkent: cost and timing" and the H1 "Dental implants: stages, timing and aftercare". Both should describe the same topic without contradicting each other.

H2 and H3: sections and subsections

H2 marks the main sections, H3 the parts inside each H2, much like chapters and paragraphs in a book. Avoid skipping levels: an H2 should be followed by an H3, not an H4. Browsers will not flag it, but the outline breaks for screen reader users. H4 to H6 are rarely needed; if an article goes down to H5, it is often a sign the text should be split into two pages.

An example of a sound structure

Take the "Children's dentistry" page of a private clinic in Tashkent:

<h1>Children's dentistry: pain-free treatment</h1>
  <h2>At what age to see a dentist</h2>
  <h2>Services</h2>
    <h3>Treating milk teeth</h3>
    <h3>Fissure sealing</h3>
    <h3>Orthodontic check-up</h3>
  <h2>Preparing for the first visit</h2>
  <h2>Questions from parents</h2>

Each H2 answers a separate question and the H3s only break up the "Services" section. Someone who reads just the headings understands the whole page, which is the simplest test of a good outline.

Using keywords in headings

Having the main keyword, or its natural form, in the H1 helps because it is one of the strongest topical signals. H2s can carry related queries and questions such as "how much does it cost" or "how long does it take", giving the page a chance to appear for a wider set of searches. Repeating the same phrase in every heading, however, tires readers and can look like spam. Write each heading for a person first.

The most common mistakes

Headings in WordPress and other CMSs

In WordPress the post title is usually output as the H1 by the theme, so do not add another H1 block inside the Gutenberg content. Use H2 and H3 in the Heading block for sections. Page builders such as Elementor set the HTML tag per heading widget, often defaulting to H2, so check each one. Switching themes can also change the outline, so recheck key pages after a redesign.

How to audit your headings

The quickest way is the browser console. Press F12 on the page and run this in the Console tab to list every heading with its level:

document.querySelectorAll('h1,h2,h3,h4,h5,h6').forEach(h =>
  console.log(h.tagName, '-', h.textContent.trim()));

From a terminal you can count the H1 tags on a page:

curl -s https://misol.uz/ | grep -oi '<h1[ >]' | wc -l

A result of 0 means no H1, more than 1 means several. The Accessibility section of a Lighthouse report flags broken heading order, and crawlers such as Screaming Frog list pages with missing or duplicate H1s across the whole site.

Headings and search visibility

A clean outline does not guarantee rankings, but it helps. Google sometimes links directly to a section by its heading or picks the answer paragraph beneath an H2 for a featured snippet, and AI search tools extract clearly headed sections more easily. If your site runs on sayt.uz hosting, no server setting is involved: headings are edited in the CMS or theme files, and you can request reindexing of key pages in Google Search Console afterwards.

Related articles

🧭 Do lots of 404 pages hurt SEO? When you should actually worry 🧩 Google Tag Manager basics: tags, triggers and variables 🕵️ Choosing an SEO Agency: How to Spot Misleading Promises 🗺️ Local SEO for businesses in Uzbekistan's regions
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓