SEO

Heading Tags

Also called headings, H2, H3, header tags

The HTML elements H1 to H6 that mark a page's titles and subtitles and give it an outline readers and search engines can follow.

Quick facts: Heading Tags

Category
SEO
Also called
headings, H2, H3, header tags
Level
Beginner
Affects
Readability, accessibility, how search engines understand page sections, matching passages to specific questions
Where to see it
Browser heading-outline extensions, SEO crawlers, page source, accessibility checkers
In this article4
  1. How heading tags work
  2. Why it matters
  3. Common mistakes
  4. How to act on it

Heading tags are the HTML elements H1 to H6 that mark the titles and subtitles on a web page, ranked by importance from H1 (the main title) down to H6. Together they give the page an outline that readers, screen readers and search engines all use to work out what each section covers.

How heading tags work

Each heading is wrapped in its own tag, such as <h2>Delivery to Northern Ireland</h2>. The number describes rank, not size: an H2 opens a main section, an H3 opens a subsection inside that H2, and so on down. How big the text looks is set separately in the stylesheet, so a theme can make an H3 look larger than an H2 without changing the structure underneath.

Most pages need one H1 tag naming the page’s main topic, a handful of H2s for the main sections, and H3s only where a section genuinely splits into parts. H4 to H6 are rarely needed outside long technical documents or detailed policies.

Search engines read headings both as page text and as clues to structure. Google has said it uses them to understand what a section is about, which helps it match a particular passage to a particular question. Screen reader users rely on them even more directly: many jump from heading to heading to find the part they want, much as a sighted reader scans a page.

Why it matters

A clear heading outline makes a page easy to scan, and people on phones scan far more than they read. Someone looking for a plumber in Leeds wants to find “Prices” or “Areas covered” within a couple of seconds, not scroll through every paragraph. If the headings say what each section holds, visitors stay. If the headings are vague (“Our approach”, “Why choose us”), many give up.

Headings also help a page compete for the longer, more specific searches a single title cannot cover. A boiler servicing page with sections headed “How often should a boiler be serviced” and “What a Gas Safe engineer checks” hands Google clean, labelled passages to match to those exact questions.

There is an accessibility duty as well. UK public sector sites must meet accessibility regulations, and private businesses have duties to disabled customers under the Equality Act 2010, which is widely read as covering websites. A correct heading structure is one of the basic checks in the WCAG accessibility guidelines.

Common mistakes

  • Choosing a heading level for its font size. Page builders make this easy: an H4 picked because it “looks right” for an important section breaks the outline.
  • Skipping levels, such as jumping from an H2 straight to an H4. Browsers cope, but screen reader users lose their place in the structure.
  • Making ordinary text look like a heading with bold and a larger font, so the section has no heading tag at all.
  • Turning sidebar widgets, footer labels and newsletter boxes into headings, which clutters the outline with things that are not content.
  • Squeezing the same keyword into every heading. It reads badly and tells Google nothing new.
  • Putting headings inside images or banner graphics, where neither search engines nor screen readers can read them as text.

How to act on it

Start by viewing the outline of a key page. A browser extension that lists headings, or the headings view in an SEO crawler, shows every heading tag in order. Read that list on its own: if it works as a sensible table of contents for the page, the structure is sound. If it reads like a jumble of widget titles and slogans, it needs work.

Then write headings that say what the section contains, in the words your customers use. A subheading such as “Costs for a three-bedroom house” is more useful than “Pricing information”. Put the page’s main term in the H1 and let related terms appear in H2s where they fit naturally. Keep the H1 close in meaning to the title tag, though the two do not need to match word for word.

Finally, fix the template as well as the page. If a theme turns every widget title into an H2, that problem repeats across hundreds of URLs, and correcting it once fixes them all. Reviewing heading structure is a standard part of the on-page SEO work I do on existing pages.

Do and do not

Do

  • Use one H1 that names the page topic
  • Nest H2s and H3s in a logical order without skipping levels
  • Write headings that say what the section contains

Do not

  • Pick a heading level because of its font size
  • Turn widget and footer labels into headings
  • Repeat the same keyword in every heading

Questions people ask about this

Can a page have more than one H1?

HTML allows it, and Google has said that several H1s on a page do not cause a ranking problem. Even so, one H1 that names the page topic is clearer for readers and for screen reader users, and it is easier to keep consistent across a site. I only use more than one where a template genuinely needs it.

Do heading tags help rankings?

They are not a strong ranking factor on their own. They help Google understand what each section of a page covers and help visitors find what they need, and that is where the benefit comes from. A well-structured page with weak content will not rank because of its headings.

What is the difference between a heading tag and a title tag?

The title tag sits in the page's HTML head and usually appears as the clickable headline in search results and on the browser tab. Heading tags appear on the page itself. The title is written to win the click from the results page, and the H1 to reassure someone who has already arrived that they are in the right place.

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.