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
- Find the elements in the evidence in the page or its template.
- Replace center, font, big, strike, tt, basefont, marquee and blink with ordinary elements styled in CSS.
- 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.