SEO
SEOMedium

H1 Tag

Checks that every page has exactly one H1 tag containing the primary keyword.

What this check measures

We count H1 tags per page and flag zero, multiple, or empty H1s. The H1 is the structural title for crawlers and screen readers — one per page, ideally containing the primary keyword.

Why it matters

Multiple H1s confuse crawlers about page intent. Zero H1s leaves Google guessing from weaker signals. Both cap ranking potential, especially for AI-built apps where headings are often used for styling rather than structure.

search

How our audit detects it

Query `document.querySelectorAll("h1")` on the rendered DOM. Flag count ≠ 1 or empty text content.

Typical findings

  • error_outlineTwo H1s because the logo and the page title are both marked as H1.
  • error_outlineNo H1 because the hero headline is a styled div.
  • error_outlineH1 contains only the brand name, not a descriptive phrase.
  • error_outlineH1 text is empty (only an icon or image).

How to fix

One H1 per page, containing the primary keyword in a natural sentence. Use H2 for section titles, H3 for sub-sections. Ensure the H1 is real HTML, not a styled div.

Copy-paste fix prompt for your stack

Lovable · Cursor · Bolt · v0 · Replit · Windsurf · Claude Code · Base44

View the fix prompt →

Frequently asked questions

Can I have multiple H1s?expand_more
HTML5 technically allows it, but Google, screen readers, and SEO tools all expect one-H1-per-page. Stick with one.
Should H1 match the title tag?expand_more
Similar but not identical. Title is for the SERP, H1 is for on-page readers. Slight variation is natural.

Want this checked on your site?

Pantra runs the full audit (SEO, Security, GEO, Performance, Schema, Technical, Images) in 10 seconds and generates stack-specific fix prompts.

Scan my site

Related checks