Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1font-family: Arial, sans-serif; | AInvalid — font-size must include a unit such as px, em, or rem | |
| 2font-weight: bold; | Bfont: italic bold 18px Georgia; | |
| 3font-style controls slant (italic or normal) | CSets the typeface to Arial with sans-serif as a fallback | |
| 4The font shorthand sets size and family at minimum | Dfont-style: italic; | |
| 5font-size: 24; | EMakes text appear heavier/thicker — equivalent to the numeric value 700 | |
| 6font-family: Times New Roman, serif; | FInvalid — multi-word font names must be wrapped in quotes: "Times New Roman" |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
font-family — A CSS property that sets the typeface for text, accepting a prioritised list of font names with a generic fallback such as serif or sans-serifp { font-family: Arial, sans-serif; }h1 { font-size: 32px; }p { font-weight: bold; }em { font-style: italic; }p { font: bold 16px Arial; }