Header Tags H1 to H6: How to Structure a Page for Readers and Google
Think of headings as the table of contents you never wrote. Someone landing on your page reads the H1, scans the H2s, and decides in a few seconds whether the page has what they need. Google does something similar: headings help it understand what each section covers and which passage answers which question. That makes header tags less about "SEO weight" and more about clarity, which turns out to be what ranks.
What header tags are
HTML has six heading levels:
<h1>Main topic of the page</h1>
<h2>A major section</h2>
<h3>A subsection of that section</h3>
<h4>Rarely needed below this</h4>
H1 is the page title as it appears on the page. H2s divide the content into main sections. H3s break an H2 into parts. H4 to H6 exist, but most articles never need them. If you find yourself at H5, the page is probably trying to do too much.
The H1
How many H1s?
One is the convention and the cleanest choice. Google has said multiple H1s won't break anything, and HTML5 technically allows them, so it isn't a disaster if your theme adds a second. Still, one H1 that states the page topic is easier for everyone, including screen reader users who jump to it.
What to put in it
The main topic, phrased the way your reader thinks of it. For a recipe: "Eggless Rava Cake in a Pressure Cooker". For a service page: "Wedding Photography in Udaipur". It should agree with your title tag. They don't need to match word for word, but if the title says "running shoes" and the H1 says "Our Summer Collection", Google gets mixed signals and may rewrite your title.
A common theme bug
Many WordPress and Shopify themes wrap the logo or site name in an H1 on every page, and then the post title becomes a second H1 or, worse, an H2. Inspect your page source or use a browser extension that shows the heading outline. If the logo is your H1, ask your developer to change it to a plain element on inner pages.
H2s and H3s
Build the outline first
Before writing, list the H2s. For an article on "how to start a home bakery in India", the outline might be:
- Licences you need (FSSAI registration)
- Equipment for a small kitchen
- Pricing your cakes
- Getting your first orders
- Mistakes new home bakers make
Each one is a question the reader has. Then add H3s only where a section has distinct parts, like "Basic registration vs State licence" under the FSSAI section.
Make headings descriptive
"Pricing your cakes" tells the reader something. "Money matters" is cute and vague. Descriptive headings also help Google match a section to a specific query, which matters for long-tail traffic and for featured snippets, where a question-style heading followed by a direct answer is a common pattern.
Keep the hierarchy logical
Don't jump from H2 to H4 because you liked the font size. Headings are structure; styling belongs in CSS. Skipping levels confuses screen readers and makes the outline harder to follow.
Keywords in headings
Use your main keyword in the H1. Use related phrases and subtopics naturally in the H2s. Do not put the exact keyword in every heading.
Bad:
- Best Running Shoes
- Why Best Running Shoes Matter
- Best Running Shoes for Men
- Best Running Shoes Price
Better:
- Best Running Shoes for Flat Feet
- How We Tested Them
- Picks for Road Running
- Picks for Trail and Gym
- What to Spend
The second version covers more of what people search, reads naturally, and avoids the stuffed look. If you want a gut check on repetition, the keyword density tool will show you how often a phrase appears, though there is no magic number to hit. The keyword density myth explains why.
Headings for skimmers
Many readers only read headings and the first line under each. Write for them:
- Put the answer or main point in the first sentence after the heading.
- Use question headings where the section answers a question people search.
- Keep headings short. Under ten words is a good habit.
- Avoid headings that only make sense with the previous paragraph, like "Why this matters".
Headings on non-blog pages
Product pages often need only an H1 for the product name, then H2s for Description, Specifications, Reviews and Shipping.
Service pages work well with H2s that mirror buyer questions: What's included, Pricing, Areas we cover, How booking works, FAQs.
Home pages are the trickiest. Use the H1 to say what the business does ("Custom Furniture Makers in Jaipur"), not a slogan, then H2s for each main section.
Checking your heading structure
Open the page, right-click, and view the source or use an extension that displays the outline. You should be able to read the headings alone and understand the page. If two H2s say almost the same thing, merge them. If an H2 has no content under it except an image, it probably shouldn't be a heading.
Headings tie into how you link sections and pages together, so the internal linking strategy guide is a natural next read. As a first step, pick your three most visited pages, write out their heading outlines on paper, and fix any that would not make sense to a stranger.