Checks · validation

Head Tags Outside <head>

Error validation.head_tags_in_body

What it means

Something invalid inside <head> — typically a <div>, <img> or stray text — closed it early, so the tags that followed (canonical, meta description, hreflang…) are in <body>. Browsers tolerate this; search engines ignore those tags.

How to fix it

Move any element that is not meta, title, link, script, style, base or noscript out of <head>. Validate the head with the browser's DOM inspector: if you see them under <body>, so does Google.

Where to find it in Truelint

Open the Issues pane on the right of the workspace and select Head Tags Outside <head>. The grid filters to every affected URL and the detail pane shows the specific finding for each. Export the list with Export → Current view, or from the API:

GET /api/v1/crawls/{handle}/issues/validation.head_tags_in_body