Chapter 01
Documents and semantics
What an HTML document is before any CSS touches it: the doctype and rendering modes, the content model the parser enforces, semantic elements and landmarks, and the metadata in<head>.- 010What does
<!DOCTYPE html>do, and what are quirks and standards modes?medium - 020What is HTML's content model, and what happens when you put a
<div>inside a<p>?medium - 030Why use semantic HTML, and when is a
divthe right element?Coreeasy - 040How do landmarks and headings structure a page now that the outline algorithm is gone?medium
- 050What belongs in
<head>, and what docharset,viewport, and<base>change?medium - 060What do link types like
canonical,noopener, andnofollowdo?easy - 070How do
data-*,hidden, and other global and boolean attributes behave?easy