Skip to main content

What are Heading Tags (H1–H6)?

Glossary image
HTML headings header tags H tags

Heading tags are a set of six HTML elements, ranging from <h1> to <h6>, that define the hierarchical structure of content on a web page, signaling to both browsers and search engines how sections of text relate to one another in terms of importance and organization.

Semantic Hierarchy and Page Structure

The six heading levels follow a strict semantic hierarchy. The H1 sits at the top and represents the primary topic of the page, functioning much like the title of a book chapter. Subsequent levels, H2 through H6, denote progressively more specific subsections, similar to chapters, sections, and sub-sections within a document. This structure is sometimes referred to as the document outline or heading hierarchy. A well-structured page uses these levels in order, without skipping ranks, so that the content reads as a coherent, nested outline rather than a flat collection of styled text.

It is worth distinguishing heading tags from the Title Tag. The Title Tag is a metadata element that appears in browser tabs and search engine results pages, but is invisible on the page itself. Heading tags, by contrast, are visible on-page elements that directly shape the reading experience for users and the interpretive experience for crawlers.

How Google Uses Heading Tags

Google's crawlers read heading tags as structural signals when building their understanding of a page's content. The H1 in particular carries significant weight as a confirmation of the page's primary subject, and it should align closely with the Title Tag and the target keyword for that page. H2 and H3 elements help Google identify the key subtopics covered, which can influence how the page appears in featured snippets and how well it satisfies the informational intent behind a query. In the broader context of on-page SEO, heading tags are one of the clearest signals a publisher can send about the scope and depth of their content.

Common Misuse

Despite their importance, heading tags are frequently misused. One of the most common errors is selecting heading levels for visual reasons rather than semantic ones, for instance using an H3 because its default browser styling matches a desired font size, rather than because it represents a third-level subsection. This breaks the document outline and reduces the clarity of the page's structure for both search engines and assistive technologies such as screen readers, which rely on headings to help users navigate content.

Another frequent mistake is placing multiple H1 elements on a single page. While modern HTML specifications technically permit this, search engines and accessibility guidelines generally recommend a single H1 per page to avoid ambiguity about the page's primary topic. Keyword stuffing within headings, or using headings purely as decorative separators with no meaningful text, are equally counterproductive patterns. Properly used, heading tags are a foundational element of both Semantic HTML and effective on-page optimization.

Have a question?

Get in touch if you'd like to learn more about this topic.

Contact Us