HTML - Doctypes
Overview
Estimated time: 5–10 minutes
The doctype tells browsers to render in standards mode for consistent behavior.
Example
<!DOCTYPE html>
Common Pitfalls
- Omitting the doctype—browsers may enter quirks mode.
Estimated time: 5–10 minutes
The doctype tells browsers to render in standards mode for consistent behavior.
<!DOCTYPE html>