HTML / XML / JS, low-level validity (cross-cutting)HighInferred
Content before <head> / malformed start
Content or stray output before the head, or a malformed document start, can push the browser into quirks mode or misparse the page. The document should start cleanly with the DOCTYPE and head.
What it is
Markup before the head.
Why it matters
Browsers/Google may relocate elements, breaking head directives.
How to fix it
Start the document correctly.
How to find it on your site
- View the very start of the raw HTML for stray output before the DOCTYPE or head.
- Find the source, often a misplaced include or whitespace from the server.
- Remove anything before the DOCTYPE.
- Re-validate the document start.
Cross-reference to ranking and citation factors
A malformed start can trigger quirks mode and misparsing. A clean DOCTYPE-first start keeps rendering standard.
Impact
Medium-high. Inferred.
Evidence
Valid document structure protects head directives. Google Search Central, Robots Meta Tags Specifications