
Quick answer
Heading tags are the HTML elements H1 to H6 that mark the titles of a page and its sections. They help readers scan a page, help screen reader users navigate it, and help search engines understand which part of the page covers which subtopic. Use one clear H1 for the page title, H2s for the main sections, and H3s for subsections, in a logical order that reflects the content.

Heading tags are the outline of a page. Readers use them to decide whether a page has what they need. Screen reader users jump between them to navigate. Search engines read them to understand how a page is organized and what each section covers.
This guide explains what heading tags are, how they affect SEO, how many H1s a page can have, how to build a sensible hierarchy, and how to write headings that work for readers, accessibility, and search. It finishes with the most common heading mistakes and how to fix them.
In this guide
What Are Heading Tags?
HTML has six heading levels, H1 to H6. H1 is the highest level and normally holds the page’s main title. H2 marks the main sections. H3 marks subsections inside an H2, and so on down to H6, which is rarely needed.
Headings are not just bigger, bolder text. They are structural markup. A browser, a screen reader, and a search engine all treat text inside a heading tag as the title of the content that follows it. Text that is simply styled to look large carries no such meaning.
On most content management systems you do not write the tags by hand. In WordPress, the post title is usually output as the H1, and the heading block in the editor lets you choose H2, H3, and lower levels for the sections of your article.
Why Heading Tags Matter for SEO
Headings help search engines in three ways.
They describe the structure. Google’s SEO Starter Guide recommends breaking long content into logical chunks with headings so people can find the sections they want faster. Search engines use the same structure to understand which part of a page answers which question.
They signal topic and subtopics. Google’s documentation on how ranking works notes that a basic signal of relevance is when keywords from a search appear on the page, including in headings. A heading that names a subtopic clearly helps connect that section to searches about it.
They support passage-level answers. Google can rank and highlight individual passages of a page. A clear heading followed by a direct answer gives it a well-defined passage to use, whether in a featured snippet, a People Also Ask box, or an AI Overview.
The Rule
Headings do not need to be perfect HTML to help, but they do need to describe the content beneath them accurately. A heading that says what the section answers is worth more than one that is clever but vague.
Why Headings Matter for Readers and Accessibility
Most readers scan before they read. Clear headings let them see at a glance whether the page covers their question and jump straight to the right section. Pages with long, unbroken text blocks lose readers who cannot find what they came for.
For people using screen readers, headings are even more important. The W3C Web Accessibility Initiative explains that screen reader users commonly navigate by headings, listing them and jumping between them much as a sighted reader skims. A logical heading structure is one of the most useful things you can do for accessibility.
Good accessibility and good SEO point in the same direction here. A page that is easy to navigate by headings is easier for everyone to use and easier for search engines to understand.
How Many H1 Tags Should a Page Have?
The traditional advice is one H1 per page, and it remains a sensible default. A single H1 that states the page’s main topic gives readers and search engines one clear title.
Google itself is relaxed about this. Its Search Advocate John Mueller has said several times that using more than one H1 is not a problem for Google, and that its systems can understand pages with multiple H1s. HTML5 also allows more than one H1 in different sections of a page.
| Situation | Recommendation |
|---|---|
| Standard article or blog post | One H1 that matches the post title |
| Landing page with several distinct blocks | One H1 is still clearest, but more will not harm rankings |
| Theme outputs the site name as an H1 on every page | Worth fixing for clarity, though not an emergency |
| Page with no H1 at all | Add one so the main topic is explicit |
The practical answer is to use one H1 because it is clearer, not because Google penalizes more. Spend your effort on making that H1 describe the page well.
How to Structure H2 to H6
A good heading hierarchy works like a table of contents. Each level sits inside the one above it.
- H1: the page title, used once.
- H2: the main sections, usually between four and ten in a long article.
- H3: subsections inside an H2, used when a section has several distinct parts.
- H4 to H6: deeper nesting, rarely needed outside very technical or reference content.
Avoid skipping levels without a reason, such as jumping from an H2 straight to an H4. The W3C guidance on headings notes that skipped levels can confuse screen reader users, who may think content is missing. Google is unlikely to penalize a skipped level, but a clean hierarchy is easier for everyone.
Do not choose a heading level for its visual size. If an H3 looks too small in your theme, change the styling in CSS rather than promoting the heading to an H2 it does not deserve.
Example
An article on repotting houseplants might use an H1 of How to Repot a Houseplant, then H2s for When to Repot, What You Need, Step by Step Repotting, and Aftercare. Under Step by Step Repotting, H3s could cover Removing the Plant, Loosening the Roots, and Planting in the New Pot.
How to Write Good Headings
The best headings are specific, descriptive, and phrased the way readers think.
- Say what the section covers: How Long to Boil an Egg is more useful than Timing Matters.
- Use the language of the search: if people ask how many H1 tags a page can have, a heading phrased that way matches their question.
- Include keywords where they fit naturally: the main keyword in at least one H2, and related terms in others.
- Keep them concise: a heading is a label, not a paragraph.
- Make each one unique: two sections with the same heading are hard to tell apart.
Question headings deserve special mention. A heading phrased as a question, followed immediately by a direct one or two sentence answer, is one of the most effective patterns for featured snippets and AI answers. It also reads naturally, because it mirrors the questions readers have.
Common Heading Mistakes
Common Mistake
Using headings for styling. Bolding a sentence by making it an H3, or putting a call to action in an H2 because it looks bigger, creates a misleading outline. Use heading tags only for section titles.
Keyword stuffing headings is the second common mistake. Every H2 starting with the same phrase reads badly and looks manipulative. Use the main keyword once or twice and natural variations elsewhere.
Vague headings are the third. Headings such as Introduction, More Info, or Final Thoughts tell neither readers nor search engines anything about the content. Replace them with headings that describe the section.
Missing headings are the fourth. Long articles with no subheadings are hard to read, hard to navigate with a screen reader, and give search engines no structure to work with.
How to Audit Your Headings
Checking headings is quick. A browser extension that shows the heading outline, or the accessibility panel in your browser’s developer tools, lists every heading on a page in order. Crawlers such as Screaming Frog report missing H1s, duplicate H1s, and multiple H1s across a whole site.
When you review the outline, read only the headings. If they tell the story of the page on their own, and each one makes clear what its section covers, the structure is working. If the outline is confusing, readers and search engines will find the page confusing too.
Key takeaways
- Heading tags H1 to H6 mark the titles of a page and its sections, creating an outline.
- They help search engines understand structure and subtopics, and help screen reader users navigate.
- One H1 is the clearest default, though Google says multiple H1s do not cause problems.
- Nest headings logically, avoid skipping levels, and never choose a level for its visual size.
- Write specific, descriptive headings, with question headings for sections that answer common questions.
Frequently Asked Questions
Do heading tags help SEO?
Yes. They help search engines understand the structure and subtopics of a page, and clear headings make it easier for Google to use individual sections as answers.
Can a page have more than one H1?
Yes. Google has said multiple H1s are not a problem. One H1 is still the clearest choice for most pages.
Should the H1 be the same as the title tag?
They should describe the same topic, but they can be worded differently. The title tag is written for search results and the H1 for the page.
Is it bad to skip heading levels?
It will not hurt rankings much, but it can confuse screen reader users. Keep a logical order where you can.
Should every heading include the keyword?
No. Use the main keyword in at least one heading and natural variations in others to avoid stuffing.
Related guides
Continue learning
Researched from Google documentation, published studies and hands-on experience, then reviewed for accuracy before publishing. Learn how we work in our editorial policy.

