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<h1>Welcome</h1> | AA CSS rule that centres text is presentation, not content. Content is the words and images themselves. | |
| 2p { color: navy; } | Bbutton.onclick = function() { alert('Hi'); }; | |
| 3Behaviour layer: a script reacts when the user clicks a button | CThe h1 tag is structure: it labels the text as the main heading. The word Welcome inside it is content. | |
| 4Structure layer: a link's destination is set by a tag attribute | DPresentation: a CSS rule that decides how paragraph text looks, without changing the words or the tags. | |
| 5<h1 style="color: red;">Sale</h1> (said to be only structure) | EThe colour red is presentation, not structure. Only the h1 tag is structure and the word Sale is content. | |
| 6h1 { text-align: center; } (said to be content) | F<a href="shop.html">Shop</a> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
web page layers — Every part of a page is content (words, images), structure (tags), presentation (CSS colour, layout) or behaviour (JavaScript). Each layer can be changed on its own.<h1>Welcome</h1>p { color: blue; }<a href="shop.html">Shop</a><script>alert("Hi");</script>body { background-color: navy; }