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 | |
|---|---|---|
| 1<link rel="stylesheet" href="dark.css"> | Ah1 { color: crimson; } | |
| 2<link rel="stylesheet" href="light.css"> | BEditing the HTML content to change the look is the wrong approach. Restyling should only change the CSS file, not the content. | |
| 3Edit one rule in a shared stylesheet and every page that uses it is restyled, with no HTML edits. | CSwaps the page over to the light.css stylesheet, so the same HTML looks different. | |
| 4To check the content and structure did not change, the HTML file stays exactly the same while only the CSS file is swapped. | DLoads the dark.css stylesheet so the page gets a dark look, with no change to the content or structure. | |
| 5<h1 style="color: red;">Our School Trip</h1> | EPutting the style inside the HTML mixes presentation into the content, so swapping the stylesheet will not change this heading. | |
| 6<link rel="stylesheet" href="dark.css"> (edit the h1 text to restyle) | F<h1>Our School Trip</h1> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<link rel="stylesheet" href="dark.css"> — Change which stylesheet this tag points to and the same HTML looks totally different, because presentation lives in the CSS file, not in the content.<link rel="stylesheet" href="dark.css"><link rel="stylesheet" href="light.css"><link rel="stylesheet" href="dark.css">h1 { color: navy; font-size: 32px; }body {
background: black;
}