Headings are one of the oldest on-page SEO elements and one of the most misunderstood. Some people stuff them with keywords. Some ignore them and style body text to look like headings. Others obsess over rules such as "exactly one H1, at least three H2s, keyword in every H3". The truth is simpler: headings exist to organise content, and when they do that job well, search engines and readers both benefit.
This guide explains how heading tags work, what search engines actually do with them, and how to write and structure H1, H2 and H3 headings that help pages rank and read well.
What Are Heading Tags?
HTML has six heading tags, <h1> to <h6>. They mark the titles of sections and subsections. Browsers display them in decreasing sizes by default, but their real purpose is structural: they tell browsers, assistive technology and search engines how content is organised.
<h1>is the main heading of the page<h2>marks major sections<h3>marks subsections within an H2<h4>to<h6>mark deeper levels, rarely needed on most pages
Think of them as the outline of a document. If you pulled out only the headings, you should be able to see what the page covers and how it is organised.
How Search Engines Use Headings
Google has said that headings help it understand the structure and content of a page. In practice, headings:
- Signal the page's main topic. The H1 is a strong clue about what the page is about.
- Describe sections. H2s and H3s help search engines understand what each part of a page covers, which helps them match specific sections to specific queries.
- Support passage ranking. Google can rank a specific passage within a long page for a narrow query. Clear section headings make those passages easier to identify.
- Feed featured snippets. A question used as a heading, followed by a direct answer, is a common source of featured snippets.
- Help generate jump links. Google sometimes links directly to a section of a page in search results, using headings and anchors.
Headings are not a magic ranking factor. A page does not rank because its H1 contains a keyword. But headings that clearly describe content help search engines understand that content, and understanding comes before ranking.
Tip: Write headings for a reader who skims. If a heading helps a human find the right section in two seconds, it is probably helping search engines too.
How to Write a Good H1
The H1 is the page's headline. It should tell a reader, immediately, that they are in the right place.
Make it describe the page's main topic. "How to Choose Running Shoes for Flat Feet" leaves no doubt.
Include the main keyword naturally. If the page targets "running shoes for flat feet", the H1 should contain that phrase or something very close, because it is the clearest way to describe the page.
Keep it reasonably short. Most good H1s are under about 70 characters.
Make it different from other pages. Every page on your site should have its own H1. Duplicate H1s across many pages suggest duplicate or thin content.
Use one H1 per page. HTML5 technically allows multiple H1s and Google has said they are not a problem, but one H1 is clearer for users and assistive technology.
H1 vs title tag
The title tag is what appears in search results and browser tabs. The H1 appears on the page. They usually describe the same topic, but they can differ:
- Title tag: "Running Shoes for Flat Feet: 9 Best Picks (2026) | Brand"
- H1: "The Best Running Shoes for Flat Feet"
The title is optimised for clicks in search results. The H1 is optimised for the reader who has already arrived.
How to Write Good H2s
H2s divide the page into its main sections. They are the most important headings after the H1.
- Describe each section specifically. "How Much Arch Support You Need" is far better than "Support".
- Cover the subtopics searchers care about. Look at what the top-ranking pages cover and what appears in "People also ask". If searchers want to know about cost, durability and fit, those are your H2s.
- Use questions where sections answer questions. "How Long Do Running Shoes Last?" invites a direct answer and a featured snippet.
- Use related terms naturally. H2s are a good place for secondary keywords and variations, as long as they genuinely describe the section.
How to Write Good H3s
H3s break H2 sections into smaller parts. Use them when an H2 section has several distinct subtopics.
- An H2 "Running Shoes by Foot Type" might contain H3s "Flat Feet", "High Arches" and "Neutral Feet"
- An H2 "How to Measure Your Foot" might contain H3s for each step
Do not use H3s just because you can. A short section with one idea needs no subheadings.
Heading Hierarchy Rules That Actually Matter
Do not skip levels
An H2 should be followed by H3s, not H4s. Skipping levels breaks the outline for screen reader users, who navigate by heading level, and makes the structure harder to interpret.
Do not choose levels for appearance
If you want a smaller heading, style it with CSS. Do not use an H4 because it looks nicer.
Do not use headings for non-headings
Calls to action, prices, testimonials and promotional text should not be marked up as headings just to make them big and bold.
Do not leave headings empty
Page builders and widgets sometimes leave empty heading tags. Remove them.
Keep navigation headings in proportion
Sidebar and footer headings like "Recent Posts" should use appropriate lower levels and should not compete with the main content's H1 and H2s.
The W3C's tutorial on headings is a clear reference for accessible heading structure.
How to Check Your Headings
You cannot always see heading structure by looking at a page, because CSS can make any element look like any heading. To see the real structure:
- Copy the page's HTML source
- Extract every H1 to H6 in order
- Draw them as an indented outline
- Look for missing or multiple H1s, skipped levels, empty headings and vague wording
A heading outline checker does this automatically: paste the source and it draws the outline, flagging every structural problem.
Example: Restructuring a Service Page
Imagine a plumber's boiler service page with this structure:
- H1: Welcome!
- H4: Boiler Servicing
- H2: Call Now 0800 000 000
- H3: (empty)
- H2: More Information
The H1 says nothing about the page. The real topic is an H4. The phone number is an H2. There is an empty H3 from a page builder. "More Information" describes nothing.
Rewritten:
- H1: Boiler Servicing in Leeds
- H2: What a Boiler Service Includes
- H2: How Often to Service Your Boiler
- H2: How Much a Boiler Service Costs
- H2: Book a Boiler Service
The phone number becomes a styled paragraph and button. The page now tells readers and search engines exactly what it covers, and three of its H2s match common questions people search for.
Headings and Keywords: How Much Is Too Much?
Keyword-stuffed headings read badly and do not help. Compare:
Stuffed: "Best Running Shoes for Flat Feet: Running Shoes for Flat Feet Reviews and Best Flat Feet Running Shoes"
Natural: "The Best Running Shoes for Flat Feet"
A sensible approach:
- Use the main keyword, or a close variant, in the H1
- Use related terms and subtopics in H2s and H3s where they describe the section accurately
- Never force a keyword into a heading where it does not fit
Search engines understand synonyms and related concepts. You do not need the exact keyword in every heading.
Headings for Different Page Types
Blog posts and guides
One H1 with the topic, H2s for each main section, H3s for subsections. Questions as headings work well for informational content.
Product pages
H1 with the product name. H2s for Description, Specifications, Delivery and Returns, and Reviews. Keep it simple and consistent across products.
Category pages
H1 with the category name. If there is supporting content below the products, such as a buying guide, use H2s for its sections.
Home pages
The H1 should describe what the business does, not just "Welcome". H2s for the main sections, such as services, about, testimonials and contact.
Local service pages
H1 with the service and location. H2s for what the service includes, pricing, the areas covered and how to book.
Planning Headings Before You Write
The best time to get headings right is before the first draft. A heading outline doubles as a content brief.
1. Research what searchers need
Search your main keyword and look at the top-ranking pages, the "People also ask" questions and related searches. Note the subtopics that appear again and again. These are the sections searchers expect.
2. Draft the outline
Write an H1 and a list of H2s that cover those subtopics in a logical order. For each H2, note any H3s it needs. Do not write body text yet.
3. Test the outline
Read the outline on its own. Would someone know exactly what the page covers? Does it answer the main question early? Is anything missing that the top results cover? Is anything included that searchers do not care about?
4. Check for overlap with existing pages
If one of your H2s is the main topic of another page on your site, link to that page rather than covering the topic in full. This avoids two pages competing for the same query.
5. Write to the outline
Now write the content, one section at a time. Each section's first sentence should deliver on its heading's promise.
6. Review the final structure
After editing, check the heading structure again. Edits often move, merge or split sections, and it is easy to end up with skipped levels or vague leftovers.
Writing from an outline produces better-organised content, makes editing faster, and means the heading structure is correct by design rather than by repair.
Common Mistakes
- "Welcome" or the site name as the H1. Describe the page instead.
- Every heading the same size and level. Use hierarchy to show structure.
- Headings as decoration. Use CSS for visual styling.
- Vague wording. Be specific.
- Fixing pages one by one. Most heading problems come from templates.
Frequently Asked Questions
Does the H1 tag still matter for SEO?
Yes, as a clear signal of the page's topic, and for accessibility. It is not a magic ranking factor, but a clear, accurate H1 helps both users and search engines.
Is it bad to have multiple H1 tags?
Google has said it is not a problem for ranking. One H1 is still recommended for clarity and accessibility.
Should every H2 contain a keyword?
No. H2s should describe their sections. Where a keyword or related term naturally describes the section, use it.
How long should headings be?
Generally under about ten words. Long headings are hard to scan.
Do headings help with featured snippets?
Yes. A heading phrased as a question, followed immediately by a concise answer, is a common featured snippet pattern.
Good headings are good structure, and good structure helps everyone. Check how your pages are really organised with the free Heading Outline Checker, fix the hierarchy in your templates, and rewrite every heading that does not describe its section clearly.
Printed from seo-serps.com — https://seo-serps.com/seo-search-marketing/how-to-use-h1-h2-and-h3-headings-for-seo-a-practical-guide/ — updated November 23, 2026.