Number of H1 Tags

Number of H1 Tags counts the H1 elements RankGear finds in the rendered body of a page, so you can compare its primary-heading structure with the pages already ranking for your query. It counts tags only — not their wording, visibility, or semantic accuracy — and a count on its own does not explain ranking performance.

Factor IDRG-HDG-026
FamilyHeadings
MeasurementCount
Measured zoneRendered page body

What it measures

Number of H1 Tags counts the H1 elements in the rendered body of the page. It helps you compare the target page’s primary-heading structure with the structure used by ranking pages. The factor measures the number of tags, not the quality, wording, visibility, or semantic accuracy of the headings.

How RankGear measures it

RankGear renders the page, removes scripts from the body used for analysis, parses the H1 elements, and returns the number found. Dynamically inserted H1 elements can be included when they are present in the rendered DOM captured by RankGear. If no H1 element is found, the value is 0.

What RankGear looks for

<h1>Primary page heading</h1>
ValueMeaning
0No H1 element in the rendered body — a useful diagnostic signal to review.
1A single primary heading, the most common structure for a focused page.
2 or moreMultiple H1 elements — valid HTML, but worth confirming the page’s design and query genuinely call for them.

How to optimize it

Give the page a clear primary heading that tells visitors what the page is about. Use additional H1 elements only when the page’s design and document structure genuinely call for them, and compare the choice with the pages ranking for the same query. If the factor is deficient, first check whether the target page lacks a readable H1. If it already has one, do not add duplicate H1 tags solely to increase the count — improve the heading hierarchy and wording instead. Treat the count as an observation against the ranking set, not a target to inflate.

Important considerations

  • HTML permits different structural approaches; a universal one-H1 rule should not replace the query-specific evidence.
  • A styled element that looks like a heading is not counted unless it is an H1 element.
  • Hidden, templated, or repeated H1 elements may increase the count without helping users.
  • Review this factor alongside the exact-match, variation, entity, and heading-word-count factors.
  • A value of 0 is a useful diagnostic signal but does not by itself explain ranking performance — this factor relates to position within a measured result set, it does not cause it.

Related factors

Part of the Factors reference · how RankGear measures · glossary.