H1 tag

Also known as: H1 heading

On this page 7

The H1 tag is the HTML element <h1> that marks the top-level heading of a web page, the visible headline that states what the page is about. In content SEO, the H1 heading acts as a strong on-page relevance signal and as the anchor of the page’s heading structure, telling readers, search engines and screen readers which topic every following section supports.

An effective H1 is specific, descriptive and aligned with search intent. It usually contains the primary keyword or a close variant, matches the promise of the title tag without copying it word for word, and appears near the top of the main content.

The H1 tag works as the highest level in a six-level heading hierarchy, from <h1> down to <h6>. Browsers render it in the largest default font size, but its real job is semantic: it labels the primary subject of the document so that machines can build an outline of the content.

Search engines read the H1 together with the title tag, the opening paragraph and the surrounding headings to understand page topic and structure. Google has stated that headings help it understand content and that multiple H1 elements are acceptable, yet a single clear H1 remains the most reliable convention for both users and accessibility.

Screen reader users often jump between headings to scan a page, and many begin by pressing a shortcut that moves to the first H1. A missing or vague H1 therefore costs time for people who rely on assistive technology, which is why WCAG guidance on headings and labels supports descriptive top-level headings.

H1 tag versus title tag and other headings

The H1 tag and the title tag are two different elements with different jobs, although they often share the same keyword. The title tag lives in the document head and appears in browser tabs and search results, while the H1 appears on the page itself as the first thing a visitor reads.

The table below separates the H1 from its closest neighbors in content SEO.

ElementWhere it appearsMain audienceTypical length
H1 tagTop of the visible page contentVisitors already on the pageAbout 20 to 70 characters
Title tagSearch results and browser tabSearchers choosing a resultAbout 50 to 60 characters
Meta descriptionSearch snippet, sometimes rewrittenSearchers comparing resultsAbout 120 to 160 characters
H2 and H3 headingsSection openings below the H1Scanners and answer enginesShort, section-specific phrases
H1 tag compared with related on-page elements

Search engines sometimes use the H1 text to rewrite a title link when the title tag is missing, stuffed or misleading. Keeping the two elements consistent in meaning reduces the chance of an unexpected rewrite in the results page.

How to write an effective H1 heading

An effective H1 heading names the exact topic in natural language and sets expectations that the content fulfills. It should be unique across the site, so that two pages never compete with the same headline, which is a frequent root of keyword cannibalization.

  • Lead with the primary topic or keyword where it reads naturally.
  • Match search intent: a how-to query deserves a how-to headline, a product query a product name.
  • Keep it concise, usually one line on desktop and two on mobile.
  • Avoid clickbait that the content does not deliver, because mismatches raise bounce rates.
  • Use real text, not text inside an image, so crawlers and screen readers can read it.

The following decision table shows typical H1 choices by page type.

Page typeRecommended H1 patternReason
Blog articleSpecific headline with the main querySignals topic and promise of the article
Product pageBrand, model and key attributeMatches how buyers search for items
Category pageCategory name with a qualifierSeparates it from similar categories
Home pageBrand plus core offeringExplains the site purpose at first glance
Local service pageService and city nameAligns with local search intent
H1 patterns by page type

Technical implementation details

The H1 should be present in the rendered HTML and, ideally, in the initial server response. Content management systems and themes often generate it automatically from the post title, so audits must confirm that the theme does not wrap the logo in an H1 on every page or demote the real headline to a styled paragraph.

Visual size and semantic level are independent. Designers can style an H1 small or an H2 large with CSS, so the choice of heading level should follow document structure, never appearance. Hiding the H1 with CSS while showing different text to users can be read as a deceptive practice.

Common H1 tag mistakes

Most H1 problems are template errors repeated across thousands of pages, so a single fix can have wide effect. The table below lists frequent audit findings with their causes and corrections.

ProblemTypical causeFix
Missing H1Theme renders title as a styled divChange the template to output an H1 element
Duplicate H1 across pagesGeneric headline in a shared templateGenerate the H1 from unique page data
Logo wrapped in H1Legacy theme markupUse a plain link for the logo
Keyword-stuffed H1Attempt to force rankingsWrite one natural, descriptive phrase
Skipped heading levelsChoosing levels for font sizeFollow a logical H1, H2, H3 outline
Frequent H1 problems in audits

A common misconception holds that adding the keyword to the H1 alone lifts rankings. In practice the H1 supports relevance only when the content beneath it delivers on the same topic in depth.

In plain words

The H1 tag is the main headline of a web page, like the title printed at the top of a newspaper article. It tells anyone who arrives what the page is about before they read anything else.

Search engines and screen readers look at this headline to understand the page quickly. The key takeaway is that each page should have one clear, honest headline that matches what the page delivers.

A real-world example

A regional garden center runs an online shop with about 350 product pages. An audit finds that the theme wraps the store logo in an H1 on every page, while product names appear only as large styled text. As a result, every page shares the same H1 text, the store name, and search engines receive no headline that distinguishes one product from another.

The developer edits the template so the logo becomes a plain link and each product name, for example “Dwarf Japanese maple, 60 cm potted tree”, becomes the page H1. Category pages receive qualified headlines such as “Shade-tolerant perennials for small gardens”. After recrawling, several product pages begin to rank for long-tail queries that include size and variety, and screen reader users can now jump straight to the product name.