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="style.css"> | AGives the image a text description that a screen reader can read aloud and a search engine can understand. | |
| 2<img src="cat.jpg" alt="A cat asleep on a couch"> | BA paragraph is styled to look like a heading, so it has no heading structure. Screen readers and search engines will not treat it as a title. Use <h1> or <h2> and style it with CSS. | |
| 3A screen reader and a search engine can tell this is the main heading because of its structure, not because of how big it looks. | C@media (max-width: 600px) { nav { display: none; } } | |
| 4The layout can change to suit a small phone screen without touching the HTML content. | DPresentation (colour and size) is mixed into the HTML. Restyling many pages means editing every tag. Use a CSS rule or class instead. | |
| 5<p><font color="red" size="6">Sale ends Friday</font></p> | E<h1>School Sports Day</h1> | |
| 6<p style="font-size:32px; font-weight:bold">Our Menu</p> | FLinks one shared stylesheet so every page that includes it gets the same look, and a single edit restyles them all. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
separation of concerns — Keeping content, structure (HTML) and style (CSS) apart so one document can be restyled fast, suit any screen, and be understood by search engines and screen readers.<link rel="stylesheet" href="style.css">@media (max-width: 600px) {
p { font-size: 1.2em; }
}<img src="dog.jpg" alt="A kelpie puppy"><main>
<h1>Recycling at School</h1>
</main>/* One rule styles every page */
h2 { color: teal; }