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>This is a paragraph.</p> | A<body> <p>Hello world.</p> </body> | |
| 2<p>First.</p> <p>Second.</p> | B<p> elements must not be nested inside each other - each paragraph is a separate block | |
| 3<p> is a block-level element - it always starts on its own line | C<p>Welcome to my page.</p> | |
| 4Every <p> opening tag must be matched with a closing </p> tag | DWraps a block of text as a paragraph - displayed on its own line with space above and below | |
| 5<p>Missing close tag | EEvery <p> must be closed with </p> - omitting it leaves the paragraph unclosed | |
| 6<p><p>Nested paragraph.</p></p> | FTwo separate paragraph elements - each displays as its own block with spacing between them |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<p> — An HTML element that wraps a block of text as a paragraph. The browser adds spacing above and below it and displays it on its own line.<p>Hello world</p><p>Welcome to my site</p><body>
<p>First paragraph.</p>
</body><body>
<p>Second paragraph.</p>
</body><p>Intro text.</p>
<p>More details here.</p>