Clothes for your HTML
HTML says *what* things are. CSS says how they *look*: colours, spacing, fonts and layout. The same HTML can look completely different with different CSS.
A CSS rule
- A rule = a selector (which elements) + a block of declarations in { }.
- Each declaration is property: value; — don't forget the colon and semicolon.
- In real sites, CSS lives in a file linked from the head: <link rel="stylesheet" href="styles.css">.