The one thing to know about HTML5

By Mattias Kihlström

<!DOCTYPE html>

What does it mean?

This is the agreed upon document type declaration of HTML version 5.

Where should it go?

At the very beginning of every HTML5 document.

What makes it special?

<!DOCTYPE html> is the minimum document type declaration that triggers standards-compliant rendering mode (as opposed to quirks mode) in supported browsers.

Further reading