HTML validation · Document structure
Missing or invalid doctype
The page has no doctype, which puts browsers into quirks mode, where layout follows old, inconsistent rules from the 1990s.
How this page is built
The source of this page starts with the html element. There is no <!DOCTYPE html> before it.
The rest of the page is unchanged, so any difference in how it looks comes from quirks mode alone.
Why it matters
The doctype tells browsers to use modern standards. Without it, they switch to quirks mode, which copies the behaviour of very old browsers.
Layout, sizing and spacing can then differ between browsers, and between what visitors see and what search engines render. That can affect how content is judged, for example on mobile.
How to check it
View the source and check the very first line. In the browser console, document.compatMode shows BackCompat in quirks mode and CSS1Compat in standards mode. The W3C Nu HTML Checker reports a missing doctype.
How to fix it
Add as the very first line of every page, with nothing before it, not even a comment or a blank line from a template.