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-size: 24px; font-weight: bold; | AMakes a heading larger and bolder than body text so it stands out as more important | |
| 2font-family: Arial, sans-serif; | Bh2 { font-family: Arial; font-size: 20px; color: #003366; } | |
| 3Size hierarchy: headings are larger than body text so users can see what matters most | Ch1 { font-size: 32px; } p { font-size: 16px; } | |
| 4Consistent formatting: every heading in the interface uses the same font, size and colour | DSets a clear, readable font choice that can be applied to all text in the interface | |
| 5h1 { font-size: 12px; } p { font-size: 18px; } | EThe heading is smaller than the body text, so the size hierarchy is reversed and the heading does not show importance. | |
| 6p { color: #FFFF99; } body { background: white; } | FPale yellow text on a white background has poor contrast, so the text is hard to read. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
text formatting — Using font, size, weight and colour consistently so text is easy to read and shows importance, such as larger bold headings above smaller body text.h1 {
font-weight: bold;
}p {
font-size: 16px;
}body {
font-family: Arial, sans-serif;
}h1 { font-size: 32px; }
p { font-size: 16px; }.warning {
color: red;
font-weight: bold;
}