Has MicroFormat P-Name

Has MicroFormat P-Name is a yes/no check for the Microformats2 p-name property in a page’s body HTML. RankGear returns 1 when the exact text class="p-name" appears and 0 when it does not — a literal presence signal, not a validation of the name text or its parent item.

Factor IDRG-SCF-014
FamilyStructured Data — MicroFormat
MeasurementBinary presence (0 / 1)
Measured zoneBody HTML without scripts

What it measures

This factor detects the p-name Microformats2 property, which marks the name of an item. In Microformats2, p-name is the plain-text property that names the thing a marked-up item represents — for example the name on an h-card or h-entry. RankGear reports whether that property is present anywhere in the page’s body markup.

How RankGear measures it

RankGear returns 1 when a case-insensitive scan of the body HTML (scripts excluded) finds the exact sequence class="p-name". Any other outcome returns 0. This is a literal string match, not a Microformats parser.

What RankGear looks for

<span class="p-name">Jane Doe</span>
ValueMeaning
1The literal class="p-name" string is present in the body HTML.
0The string is absent (or p-name is only combined with other classes in a way the literal match misses).

How to optimize it

Apply p-name to the accurate visible name of the relevant Microformats2 item — the actual displayed name of the person, article, or entity the item describes. Because the detector matches the literal class="p-name" string, keep the property on its own single-class attribute rather than bundling it with other class names. Treat this as an observation of markup presence, not a target to game: adding the class without a coherent parent item does nothing meaningful for structure.

Important considerations

  • The literal detector misses multi-class values — class="p-name fn" will not match the exact class="p-name" sequence.
  • It does not validate the name text; any string inside the marked element counts.
  • A valid parent item (for example an h-card) is not confirmed — presence of the property does not prove a well-formed item.
  • Use one coherent MicroFormat structure rather than scattering isolated properties.
  • This is a correlation-based prioritization signal within a measured result set, not a cause of ranking — presence of p-name does not make a page rank or guarantee a position.

Related factors

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