Heading tags for SEO: structuring H1, H2 and H3 correctly
· 6 min read
Strip away the paragraphs from a well-built web page and the headings alone should still tell you what the page covers and in what order. That is the simplest test of whether you are using heading tags for SEO properly. H1, H2 and H3 are not size settings. They are an outline, and search engines use that outline, along with everything else on the page, to understand what each section is about.
This guide explains what each level is for and walks through turning a messy page into a tidy structure.
What heading tags actually do
HTML offers six heading levels, from H1 to H6. Each marks the start of a section and tells browsers, screen readers and crawlers how that section relates to the ones around it. An H2 belongs to the H1 above it; an H3 belongs to the nearest H2.
From a search perspective, headings help in a few practical ways:
- They signal the main topics and subtopics of the page
- They help Google match specific passages to specific queries
- They make pages scannable, which keeps visitors reading instead of leaving
- Clear question-style subheadings can support featured snippet eligibility when the text below answers them directly
Headings are one signal among many, not a shortcut to rankings. Their real value is making good content easier to understand.
The H1: one clear statement of the page topic
The H1 is the visible main headline. On most pages it should:
- Describe the specific topic of that page, not just the business name
- Include the main phrase the page targets, in natural wording
- Broadly agree with the title tag, even if the wording differs slightly
- Appear near the top of the main content
Google has said that multiple H1s on a page are not a problem for its systems. Even so, one H1 per page remains the clearest convention: it removes ambiguity about the page’s main subject and keeps templates simple. On a service page, "Commercial Pest Control in Chennai" is a strong H1. "Welcome" is not.
H2s: the main sections of the page
H2 headings divide the page into its major parts. A useful way to plan them is to list the questions a visitor would have about the topic, then group those questions into four to eight sections.
For a commercial pest control page, the H2s might be:
- Pests we treat in offices, restaurants and warehouses
- How our commercial inspection works
- Treatment methods and safety for staff and food areas
- Service contracts and visit frequency
- Certificates and documentation for audits
- Frequently asked questions
Each heading describes its section on its own. Someone reading only the H2s understands the page. Notice too that keyword variations such as "commercial inspection" and "service contracts" appear because they belong there, not because they were forced.
H3s and deeper: subsections within a section
Use H3 when an H2 section has distinct parts worth labelling. Under "Pests we treat", the H3s might be Cockroaches, Rodents, Termites and Stored-product insects. Each H3 then gets a short paragraph or two.
H4 to H6 are rarely needed on marketing pages. Long guides, documentation and legal pages sometimes use H4, but if you find yourself reaching for H5, the page may be better split into separate pages.
The key rule is nesting. An H3 should sit under an H2, not directly under the H1. Jumping levels is not an SEO disaster, but a consistent outline is easier for every kind of reader to follow.
Using keywords in headings without forcing them
Headings carry meaning, so it is reasonable to use relevant terms in them. The trick is to write for the section’s actual content:
- Put the main keyword in the H1
- Use related phrases and subtopics in H2s where they describe the section honestly
- Phrase some headings as the questions people really search, such as "How often should a restaurant get pest control?"
- Avoid repeating the exact same phrase in every heading; it reads badly and adds nothing
A good check: read the headings aloud. If they sound like a list of search terms rather than a table of contents, rewrite them.
A worked example: restructuring a service page
Here is a typical before-and-after for a CA firm’s GST page.
Before
The page had the logo text as its H1, "Our Services" as an H2, then several paragraphs with bold text instead of headings, and an H4 used for the phone number because it looked the right size. A crawler would see little structure, and visitors had to read everything to find the fees.
After
- H1: GST Registration and Return Filing for Small Businesses
- H2: Who needs GST registration
- H2: Documents required for GST registration
- H3: For proprietors
- H3: For partnerships and companies
- H2: Monthly and quarterly return filing support
- H2: Our fees and turnaround time
- H2: Frequently asked questions
The phone number became normal text styled with CSS, and the logo stopped being a heading. Nothing about the content changed, yet the page is now far easier to scan and interpret.
Checking the heading outline on your pages
You do not need special software to audit headings:
- Right-click a heading in Chrome and choose Inspect to see its tag.
- Use a free browser extension that lists all headings on a page as an outline.
- Run Lighthouse in Chrome DevTools; its accessibility audit flags heading elements that are not in sequentially descending order.
- For many pages at once, a site crawler can export H1 and H2 text for every URL into a spreadsheet.
Start with templates. Fixing the heading structure of a product or blog template corrects every page that uses it.
Turning your next page into a clean outline
Before writing or rebuilding a page, draft the headings first, as a bullet list, and share it with whoever writes the copy. That single step prevents most structural problems. If you are planning a new website, our website development team builds templates with a proper heading hierarchy from the start.
Frequently asked questions
Is it bad to have more than one H1 tag?
Google has stated that multiple H1s do not harm its understanding of a page. A single H1 is still recommended as the clearest, most predictable structure for users and assistive technology.
Should the H1 be the same as the title tag?
They should cover the same topic, but they do not have to match word for word. The title is often tuned for search results, while the H1 can be slightly longer or more conversational.
Can I style an H2 to look smaller than an H3?
Technically yes, since size is controlled by CSS. It usually confuses readers, though, so keep visual size roughly in line with heading level.
Do headings in the sidebar or footer affect SEO?
They are part of the page, but search engines generally give more weight to main content. Avoid using heading tags for repeated widget titles where plain text would do.
Thinking about a website?
See what a package covers and what it costs, or ask us about your own project.