SEO

Heading Tags

Also called H tags, HTML headings

The H1 to H6 elements that give a page its outline, showing which sections belong beneath which.

Quick facts: Heading Tags

Category
SEO
Also called
H tags, HTML headings
Level
Beginner
Affects
Readability, accessibility, how a page is parsed, snippet eligibility
Where to see it
Browser developer tools, a crawler such as Screaming Frog, the WordPress editor outline
In this article4
  1. How heading tags work
  2. Why heading tags matter
  3. Common mistakes with heading tags
  4. Getting it right

How heading tags work

HTML gives you six heading levels, H1 through H6. They are not sizes; they are levels in an outline. An H2 opens a main section, an H3 opens a subsection inside it, and so on downwards. Browsers happen to render the higher levels larger by default, which is why they get mistaken for formatting, but the meaning is structural: the level states what belongs under what.

Everything that reads a page uses that outline. Someone using a screen reader can jump from heading to heading instead of listening to the whole page. A search engine uses the headings to work out what each part of the page covers and which passage answers a particular question. Site features such as an automatic table of contents or a jump-link menu are built straight from them.

Why heading tags matter

Most people do not read a web page. They scan it and stop where the answer looks likely to be, and headings are what they scan. A page with honest, specific headings can be understood almost at a glance by someone deciding whether to stay, and that decision governs everything that follows.

Headings also matter to anything that lifts content out of pages. A question-shaped heading followed by a direct answer gives a clear boundary around that answer, which is the shape that suits featured snippets and AI-generated summaries. An answer buried in a wall of undifferentiated paragraphs is harder for any reader, human or machine, to extract cleanly.

Common mistakes with heading tags

The most frequent is choosing a level for its appearance — reaching for H4 because H2 looked too big on screen. That silently rearranges the outline. Choose the level by meaning and change the size in CSS.

Skipping levels does the same damage more quietly: an H2 followed directly by an H4 leaves a gap that assistive technology reports as a missing section. Two others are worth naming. Repeating the same phrase across every heading reads badly and helps nothing. And wrapping design furniture — a sidebar label, a footer title — in heading tags fills the outline with items that are not content. The reverse happens just as often, with a genuine heading styled as a bold paragraph, invisible to everything that reads structure.

Getting it right

Write the outline before the prose. If you can list the H2s and the argument of the page is clear from that list alone, the structure works. If the list reads as an unrelated set of topics, the page is trying to do more than one job and probably wants splitting.

Then check what actually shipped. View the outline in your editor or in a crawler, read the headings on their own, and ask whether someone who read nothing else would know what the page offers. Keep a single H1 naming the subject, keep the levels in order, and let the body copy deliver whatever each heading promised. It is one of the cheapest parts of on-page SEO to get right, and one of the most often skipped.

Do and do not

Do

  • Choose the level by meaning, set the size in CSS
  • Keep levels in order without skipping one
  • Write headings that make sense read on their own

Do not

  • Bold a paragraph and treat it as a heading
  • Repeat the same phrase in every heading
  • Wrap sidebar or footer labels in heading tags

Questions people ask about this

Do heading tags affect rankings?

They help indirectly rather than acting as a lever you can pull. Headings tell a search engine how a page is organised and which passage answers which question, which makes the right section easier to surface. They also make the page easier for people to scan, which affects whether a visitor stays. Neither effect comes from packing keywords into them.

Is it a problem if I skip from H2 to H4?

It is untidy rather than fatal, and worth fixing. Heading levels describe an outline, so a skipped level leaves a hole in it that assistive technology reports to the person relying on it. The cause is usually someone picking a level for its font size. Set the level by meaning, then control the size with CSS.

How many headings should a page have?

As many as the content genuinely divides into, and no more. A short page may need only a couple of sections, while a long guide needs many with subsections beneath them. The test is whether each heading introduces a real change of subject. Adding headings to break up text that has not changed subject makes a page harder to follow, not easier.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.