Body Element Preceding HTML
A body element appears before the html root element.
Why it matters
Placing body before html breaks standard document nesting, so browsers and crawlers may parse the page inconsistently.
How to fix it
- Fix template nesting so html wraps head and body in order.
- Check for stray or unclosed tags earlier in the response.
Where to find it
This finding is reported in the Validation tab, and appears in Findings under the matching severity.
A term you don't recognise is defined in the glossary.
Other validation findings
- HTML Document Over 2MB
- Resource Over 2MB
- Missing Head Tag
- Multiple Head Tags
- Missing Body Tag
- Multiple Body Tags
- Invalid Elements in Head
- Head Not First in HTML Element
Findings library, by category.