# Doctype and the basics of a valid document

> A missing doctype throws browsers into quirks mode with 1990s layout rules. Start every page with <!doctype html>.

Best practices · HTML version: https://getreport.app/learn/html-basics

## Doctype declaration

Passing looks like: Doctype is present.

**Why it matters.** Without <!doctype html>, browsers render in quirks mode and layouts can differ between browsers.

**How to fix it.**

1. Put <!doctype html> as the very first line of the document.

Check your own page: https://getreport.app/
