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<p>Hello, <span class="name">Alice</span>!</p> | ATag names must be lowercase - <SPAN> and </SPAN> should be <span> and </span> | |
| 2<p><span class="red">Error:</span> file not found.</p> | BWraps 'Alice' inline - <span> keeps it in the text flow and CSS targets .name to style it | |
| 3<span> is an inline container - it stays in the text flow without starting a new line | C<p><span id="badge">New</span> product.</p> | |
| 4<span> has no built-in styling - all appearance comes from CSS targeting its class or id | DStyles only 'Error:' inline - the rest of the paragraph is unaffected by the .red CSS rule | |
| 5<SPAN class="tag">Sale</SPAN> | EThe closing tag is missing its forward slash - it should be </span> not <span> | |
| 6<p>Label: <span class="val">10<span></p> | F<p>Total: <span class="price">$42</span> AUD.</p> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<span> — A generic inline container with no built-in styling. Used to wrap part of a text flow so CSS can target and style that portion of the text.<p>Hello, <span class="name">Alice</span>.</p><p>Price: <span class="bold">$9.99</span>.</p><p>The <span class="red">error</span> here.</p><p><span class="a">One</span>
<span class="b">Two</span></p><p>User: <span id="username">Alice</span>.</p>