Skip to content
Crawlune

Invalid element inside <head>

Warning severity, in the Content tab

Why it matters

Only title, meta, link, style, script, noscript, base and template belong in the head. Any other tag (a <div>, <img>, <p> or an early <body>) makes browsers close the head at that point, so the meta description, canonical and hreflang tags that follow are read as body content and may be ignored by search engines.

How to fix it

Move the stray element into the body and keep every meta, link and canonical tag above it. Watch for tracking snippets and noscript images injected into the head.

How Crawlune finds it

Crawlune flags Invalid element inside <head> automatically on every crawl and lists the affected URLs under the Content tab, where you can filter, inspect each page and export the list to CSV. The free version crawls up to 550 URLs with every check enabled.

Download Crawlune

Related content checks