Meta Tags in Body
SkillDocs & knowledgemeta-in-body is a skill for auditing HTML document structure. It checks web pages for meta tags such as noindex, canonical URLs, descriptions, viewport tags, and Open Graph tags that have ended up in the body instead of the head, which can happen when CMS plugins, widgets, or JavaScript rendering inject them. An agent using this skill can flag these misplaced tags so they can be fixed.
Available today. Use it from your connected AI after setup.
No other account needed.
Have an AI agent that can load and use skills.
Then ask your AI: use the Meta Tags in Body skill
What your AI can do with it
- Detects meta tags injected into the HTML body instead of the head
- Finds misplaced noindex tags that could affect indexing
- Flags canonical URL tags that appear in the body
- Detects description and viewport tags outside the document head
- Identifies Open Graph (OG) tags misplaced in the body
- Applies to pages affected by CMS plugins, widgets, or JavaScript rendering
Getting started
- Have an AI agent that can load and use skills.
- Add the meta-in-body skill to the agent's available skills.
- Ask the agent to audit a page or set of pages where meta tags may have been injected into the body.
- Review the agent's findings for misplaced tags such as noindex, canonical, description, viewport, or OG tags.
What this skill tells your AI
The instructions your AI receives, as published by thedaviddias/front-end-checklist in skills/meta-in-body/SKILL.md and read by ahel’s review.
Meta tags placed in the document body are ignored by search engines and most browsers—directives like noindex or canonical-url are silently ineffective, causing pages to be indexed or de-indexed unexpectedly.
Quick Reference
- All tags must appear inside , never inside
- Browsers may ignore or move misplaced meta tags, making them ineffective
- Crawlers like Googlebot only process meta tags found in
- Validate with HTML validator or inspect parsed DOM to confirm placement
Check
Parse the HTML and check whether any elements appear outside —i.e., inside or after the closing tag. Flag each misplaced tag by name/property.
Fix
Move all tags into the section before . If they are injected by a script after the DOM is built, refactor the injection to target document.head instead of document.body.
Explain
Meta tags are document-level metadata and must live in . When placed in , they fall outside the metadata model of the document—search engines and browsers do not honour them, so directives like noindex or canonical-url will have no effect.
Code Review
Parse the rendered HTML and check the DOM structure. Find all elements. For each one, traverse up the parent chain — if any ancestor is or if the element appears after in the source, flag it. Pay special attention to: meta name='robots', meta name='description', meta property='og:*', and link rel='canonical' placed in body.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/en/rules/seo/meta-in-body
Signals
- GitHub stars
- 74k
- Forks
- 7k
- Last commit
- Aug 2026
Questions
- When should this skill be used?
- Use it when auditing HTML document structure, especially on pages where meta tags may have been injected into the body by CMS plugins, widgets, or JavaScript rendering.
- Which meta tags does it check for?
- It looks for noindex, canonical URL, description, viewport, and Open Graph (OG) tags that appear in the body rather than the head.
- Why do meta tags end up in the body?
- CMS plugins, widgets, or JavaScript rendering can inject meta tags into the body instead of the document head.
- Does it fix the misplaced tags?
- The skill audits pages and flags misplaced meta tags; fixing them is left to the person or workflow using it.
Advanced
- Item type
- skill
- Key
meta-in-body- Source
- github.com/thedaviddias/front-end-checklist