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.
