Issues

Validation: Missing <head> Tag

back to issues overview

Missing <head> Tag

Pages missing a <head> element within the HTML.

The <head> element is a container for metadata about the page, that’s placed between the <html> and <body> tag.

Metadata is used to define the page title, character set, styles, scripts, viewport and other data that’s critical to the page.

Browsers and Googlebot will automatically generate a <head> element if it’s omitted in the markup, however it may not contain meaningful metadata for the page and this should not be relied upon.

How to Analyse in the SEO Spider

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

What Triggers This Issue

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

Example:

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

How To Fix

Ensure all pages have a valid <head> element with appropriate metadata for the document that is the first element in the <html> element.

Further Reading

Back to top