Issues

Validation: Missing <body> Tag

back to issues overview

Missing <body> Tag

Pages missing a <body> element within the HTML.

The <body> element contains all the content of a page, including links, headings, paragraphs, images and more. There should be one <body> element in the HTML of the page.

Browsers and Googlebot will automatically generate a <body> element if it’s omitted in the markup, however this should not be relied upon.

How to Analyse in the SEO Spider

View URLs with this issue in the ‘Validation’ tab and ‘Missing <body> Tag’ filter, and export all URLs using the ‘Export’ button.

What Triggers This Issue

This issue is triggered when pages are missing a <body> element within the HTML.

Example:

<!DOCTYPE html>
<html>
<head>
...
</head>
...
</body>
</html>

How To Fix

Ensure all pages have a single valid <body> element with appropriate content for the document.

Further Reading

Back to top