Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

Stray start tag “head”.

A <head> start tag has been found in an unexpected place in the document structure. Check that the <head> section appears before the <body> section, and that is not duplicated.

The <head> section of an HTML document is the container of metadata about the document, and must appear before the <body> section. A common cause of this issue is duplicated <head> sections.

Here is an example of a minimal HTML document structure:

<!DOCTYPE html>

Related W3C validator issues