Skip to content
Qlinnt
← All checks

Technologies

Missing HTML doctype or charset declaration

The page is missing <!DOCTYPE html> or doesn't declare its character encoding early in the <head>.

What it means

Google PageSpeed checked for the HTML5 doctype and a charset declaration (<meta charset="utf-8"> within the first 1024 bytes, or a Content-Type header). At least one is missing.

Why it matters

Without a doctype the browser renders in quirks mode, which breaks layouts in subtle ways. Without an early charset, text can show garbled characters (accents, ñ, emojis).

How to fix it

Start the document with <!DOCTYPE html> and put <meta charset="utf-8"> as the first element in the <head>.

Check your own site

Run the available checks on your live site and see what deserves attention.