The glossary

Published:

Last updated:

Heading structure – what a semantic hierarchy of header tags is and why it matters

Definition

A semantic heading structure means the headings on a page – its header tags H1, H2 and H3 – are organised by meaning and logical hierarchy, not by which keywords you want to fit in. The aim is for the structure itself to tell you what the content is about.

What a semantic heading structure means

Every page has a heading hierarchy: one H1, a number of H2s and sometimes H3s beneath them. Semantic means that this hierarchy mirrors the actual logic of the content – every heading has a clear function and a clear relationship to the whole.

A page with a semantic heading structure can be understood just by reading the headings. They act as a table of contents for the page's argument.

Heading levels and hierarchy

The basic principle is simple:

  • H1 – the main subject of the page. One per page.
  • H2 – the main questions or sub-areas the page covers.
  • H3 – sub-points within an H2.

Do not skip levels or choose them for how they look. An H3 belongs under an H2 because it explores that section in more depth – not because the text happens to look good at a smaller size.

How it differs from keyword-stuffed header tags

The old approach was to cram keywords into every heading: cheap web agency Stockholm – web agency Stockholm price. That is not a structure; it is a list of keywords.

A semantic heading instead reflects a question or sub-topic the reader actually has: what does a website cost in Stockholm? It often contains the keyword anyway – but because the question is genuine, not because the word had to be squeezed in.

Why it matters for AI answers

For search engines and AI, headings are one of the strongest signals for understanding structure, subject and context. AI systems that summarise or extract answers use the headings as a map of the page.

If the structure is unclear, the content risks being misread or skipped – even when the text itself is good. Clear headings phrased as questions make the content both more readable and more citable.

How to build a semantic heading structure

  • Start from the reader's questions – let every H2 mirror a real question.
  • Go one level at a time; do not jump from H2 to H4.
  • Write the heading so it makes sense when lifted out of its context.
  • Let the keyword come in naturally – do not force it.

Ready for the next step?

Now that you know more about heading structure, you may be wondering what your next step should be.

We are always happy to help and to answer any questions you have.

Book an intro call