What are headings?
Headings are HTML elements that give the content on a web page structure. Many people also call them headers or H-tags. Think of them as a skeleton that gives the text meaning and order. Both users and search engines can quickly work out what the page is about. The heading tag shows how important a section is, so the most important topics stand out clearly. In practice, you build a logical, hierarchical structure: the main topic sits at the top, and the related details follow after.
Headings range from H1 to H6. H1 is the overall page title, and H2 to H6 cover the subordinate levels. You can compare the division to chapters and subsections in a book. When you use the structure deliberately, the reader gets a clear overview. Google gets a better basis for understanding how the content fits together. So headings are both a technical and a communication tool in web design and SEO.
How do you use headings?
Headings organise the text and highlight the key points, so the content is easy to skim. A good rule of thumb: write precise, descriptive headings that make sense on their own. That way, the reader quickly understands the content without reading everything. Headings are more than formatting. They give the text structure, logic and flow.
Google and other search engines use headings to understand topics and relationships in the content. When you put a relevant keyword in an H1 or H2, you help the algorithm connect the page to the user's intent. That's why headings play an important role in on-page SEO, just like meta titles, internal link structure and technical optimisation.
Here's what a correct structure can look like:
<h1>Guide til søgemaskineoptimering</h1>
<h2>Forstå SEO's grundprincipper</h2>
<h3>Opbyg relevant indhold</h3>
<h2>Brug tekniske elementer strategisk</h2>
Stick to one H1 on the page. It makes the page's main topic clear. Then you use H2 and H3 to divide the content into clear sections. When you work with larger amounts of data, a clear heading structure lifts both readability and your performance in the search results.
Why you should use headings
Headings do two things: they guide the reader, and they help search engines. For the reader, they make the text easier to read. They break up the text and create an overview. Most people scroll quickly through a page the first time and only stop at the sections that look relevant. So your headings are landing points that catch attention. For search engines, headings show which parts of the page are central and how the content fits together. That makes the page easier to index, and you can increase the chance of being visible in featured snippets.
In digital marketing, headings tie closely into SEO and your content strategy. Work your keywords naturally into the headings. That way, you increase relevance without over-optimising. The reader gets a better experience, and Google gets clearer context. Well-structured headings also give the design a visual hierarchy, so your pages look consistent and professional.
What types and variants are there?
The HTML standard has heading levels from H1 to H6. Most websites mainly use H1, H2 and H3. You see H4 to H6 less often. They belong to deeper structures, which ordinary web copy rarely needs.
- H1: The main title of the page or article. It typically contains your primary keyword.
- H2: The primary subtopics or main sections. They divide the text logically.
- H3: Subsections that expand on the points from your H2.
- H4-H6: You rarely use these. In technical documentation and long reports, they can be relevant.
The hierarchy should always be logical. In other words, you don't jump from H1 to H4 without using H2 or H3 first. A consistent structure helps both users and algorithms understand how the information fits together.
How do you use headings in practice?
In practice, headings are part of your on-page SEO and your content design. When you plan a page, start with an outline of the structure and topics. Write an H1 that precisely shows the page's main focus. Then divide the material into H2s and possibly H3s. Don't use headings as purely visual elements. Style them with CSS instead, so you keep structure and presentation separate.
During content production, you can test the heading structure with SEO tools and check that it matches search intent. For example, an H2 phrased as a question ("How do you optimise your website for search engines?") may perform better than a neutral title. That helps your work on user intent and keyword mapping. Both are core areas of digital strategy and SEO.
What should you watch out for?
Headings have a few pitfalls you need to know about. The most common is several H1s on the same page. Then search engines don't know which topic is the central one. Another mistake is using a heading just to make text larger or bold. That breaks the semantics and confuses search engines when they read the structure. Don't force a keyword into every heading either. It feels artificial and makes the text harder to read.
It's about balance. Stick to a clear hierarchy, and choose headings that make sense to both people and algorithms. When you combine that with well-thought-out content production and digital design, you get pages that both perform well in the search results and engage your users.