Scoreling
Best practices

Page uses the HTML5 doctype

Low impact · weight 4 · worth up to 1.1 points of the total score

Why it matters

A missing or legacy doctype drops the browser into quirks mode, where box sizing and layout follow rules from the 1990s. The page then differs from every modern stylesheet assumption.

How to fix it

Make the very first line <!DOCTYPE html>.

Check a page for this, and the other 75 checks at once

More Best practices checks

See all checks