Skip to content

DOCTYPE present

What the check finds

No DOCTYPE declaration, which puts browsers into quirks mode. Rendering may differ from what the page intends, though parsing still works.

Why it matters for AI answers

Without a DOCTYPE, browsers use quirks mode and layout may differ from what was designed. Crawlers still parse the text, so the effect on AI answers is small.

How to fix it

  1. Add <!DOCTYPE html> as the very first line of every page.
  2. Check the page layout in a browser after the change, since leaving quirks mode can shift styles.
Read the documentation ›

Review this finding in context: Security and technical hygiene guide ›

Still stuck? Contact support ›