Issues

Validation: Multiple <body> Tags

back to issues overview

Multiple <body> Tags

Pages with multiple <body> elements in the HTML.

There should only be one <body> element in the HTML which contains all content for the document.

Browsers and Googlebot will try to combine content from subsequent <body> elements, however this should not be relied upon and is open to potential mix ups.

How to Analyse in the SEO Spider

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

What Triggers This Issue

This issue is triggered when pages contain multiple <body> elements within the HTML.

Example:

<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
...
</body>
<body>
...
</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