Skip to main content
sus.botdocs
  • SEO
  • AI
  • QA
  • Privacy
  • Accessibility
  • Security
  1. Docs
  2. QA
  3. Markup validity
  4. The page has no doctype, declares no character encoding or uses removed elements

QA finding

The page has no doctype, declares no character encoding or uses removed elements

QA Warning Severity: Low

Part of the audit Markup validity. Finding id: qa.doctypeCharsetDeprecated.

What it costs you

Browsers have to guess how the page is meant to be read, and they do not all guess the same.

What to do

Start the document with the doctype, declare UTF-8, and replace removed elements with current markup and CSS.

What it checks

  • Page type or character set missing
  • Outdated page elements in use

How to fix it

Start the page template the standard way

    How to check: View the page source: the first line is the doctype and the head starts with the charset.

    Replace removed elements

    1. Find the elements in the evidence in the page or its template.
    2. Replace center, font, big, strike, tt, basefont, marquee and blink with ordinary elements styled in CSS.
    3. Replace acronym with abbr. Replace frame and frameset with one page, or with iframe where a second document is really needed.

    How to check: Recheck the page: no removed element is listed.

    • All audits
    • About sus.bot
    • Open the app
    • Contact support