Which HTML elements are allowed in the head?
Rubric check: invalid element in the head (check id html_head_invalid)
The head should hold only title, meta, link, script, style, base, noscript and template. Your page has another element there. Nothing important comes after it yet, but Google ignores every head tag that follows an invalid one.
Why it matters for SEO
Google says that when it finds an invalid element in the head, it treats that as the end of the head and stops reading. Common culprits are an img tracking pixel, an iframe or a stray div. On this page the important tags sit above it, so nothing is lost today. Add a canonical or robots tag below it later, and Google won't see it.
Does this matter for ChatGPT and AI Overviews?
AI crawlers read the same HTML, and many use simpler parsers than Google. A clean head means every reader gets the same title, description and canonical. The effect on AI citation is small while nothing important sits below the element.
How Rubric scores it
MinorMinor checks cost a quarter to a half of a standard check when they fail.
Why this tier: Nothing is lost today, but any tag added below the invalid element later will be ignored.
It is judged on every page Rubric scores.
Every Rubric score starts at 100. When this check fails, it takes up to 6 points off. Even one failing page costs at least 3 points (half of the most), and the rest comes off as the share of affected pages grows. A warning costs less than a failure.
All the minor checks share one limit: together they can take off at most 25 points, however many of them fail.
This check doesn't cap your score. It only takes off its own points.
From the engine's scoring files, scoring 2026-v2.1 (engine d5c591d).
How common it is
Found on 7 of 299 sites where Rubric could judge it (2.3%). That is 7 of 286 judged sites in Rubric's 313-site test set and 0 of 13 sites audited on Rubric between 11 Nov 2026 and 17 Nov 2026 under the current check rules (scoring 2026-11k or later). Measured 17 Nov 2026 with scoring 2026-v2.1.
How accurate the check is
Lab test: passed. On test pages built with this problem, it caught 2 of 2. On clean test pages, it stayed quiet 1 of 1 times. (Engine build d17c9d9.)
Latest review round: 0 of 22 findings judged were still wrong after the last fix.
Lab as of 16 Nov 2026; judged findings as of 15 Nov 2026.
How to fix it
WordPress
- View the page source and find the element inside
<head>that isn't on the allowed list. - It usually comes from a plugin or a code snippet added to the header. If you added it with a header-and-footer plugin such as WPCode, move it to the Body or Footer box.
- If a plugin adds it, update the plugin or ask its developer. Clear the page cache and check the source again.
Shopify
- Go to Online Store > Themes > Edit code and open
theme.liquid. - Find the element between
<head>and</head>and move it to just after<body>. - If an app adds it, turn the app's embed off in Customize > App embeds to confirm, then ask the developer.
Webflow
- Go to Site settings > Custom code and look in Head code.
- Move any
img,iframeordivinto Footer code. - Do the same in each page's Page settings > Custom code > Inside head tag, then publish.
Custom code
Keep only head elements in the head and move the rest into the body:
<head>
<title>Waterproof hiking boots</title>
<link rel="canonical" href="https://example.com/boots">
</head>
<body>
<img src="https://tracker.example/pixel.gif" alt="" width="1" height="1">