HTML Worksheet: Paragraphs and Line Breaks
Code tip (One p, one paragraph): Each <p> … </p> pair is one paragraph. Each <br> starts a new line: lines shown = number of <br> + 1. Empty tags (<br>, <img>, <hr>, <input>, <meta>) have no closing tag.
NameDateTime takenScore ___ / 40
-
1.📝 How many paragraphs does this code make?
<p>My best friend</p>
<h2>Hello, world!</h2>
<h2>Fun facts</h2>
<p>The red kite</p>
<p>I love mangoes.</p> -
2.📝 How many paragraphs does this code make?
<p>Fun facts</p>
<h2>The red kite</h2>
<h2>The red kite</h2>
<p>Fun facts</p> - 3.📝 Does <ul> have a closing tag, or is it an empty tag? (a) an empty tag (b) has a closing tag
- 4.📝 Does <meta> have a closing tag, or is it an empty tag? (a) an empty tag (b) has a closing tag
-
5.📝 On how many lines does the browser show this paragraph?
<p>Rivers flow<br>Roses are red<br>Birds sing</p> - 6.True or false: <input> is an empty tag. (a) True (b) False
- 7.Which of these has a closing tag? (a) <img> (b) <title> (c) <hr> (d) <input>
-
8.📝 How many paragraphs does this code make?
<p>The red kite</p>
<p>Rain today</p>
<h2>Hello, world!</h2>
<p>Rain today</p>
<p>Cricket is fun.</p>
<h2>Hello, world!</h2> -
9.📝 On how many lines does the browser show this paragraph?
<p>Rivers flow<br>Sky is blue</p> -
10.📝 How many paragraphs does this code make?
<p>Our school trip</p>
<h2>The red kite</h2>
<p>Our school trip</p>
<p>Cricket is fun.</p> - 11.📝 What does <br> do? (a) makes text bold (b) starts a new line (c) adds a picture (d) makes a list
- 12.True or false: <br> has a closing tag. (a) False (b) True
- 13.📝 What does <p> make? (a) a paragraph (b) a link (c) a table (d) a picture
-
14.📝 On how many lines does the browser show this paragraph?
<p>Sky is blue<br>Stars shine<br>Roses are red</p> -
15.📝 On how many lines does the browser show this paragraph?
<p>Roses are red<br>Sky is blue</p> -
16.📝 On how many lines does the browser show this paragraph?
<p>Sky is blue<br>Roses are red<br>Birds sing<br>Kites fly high<br>Rivers flow</p> -
17.📝 On how many lines does the browser show this paragraph?
<p>Roses are red<br>Kites fly high<br>Sky is blue<br>Birds sing</p> - 18.📝 What does <hr> draw? (a) a line across the page (b) a link (c) a picture (d) a table
- 19.Which of these has a closing tag? (a) <meta> (b) <img> (c) <input> (d) <li>
-
20.📝 How many paragraphs does this code make?
<p>My pets</p>
<h2>The red kite</h2>
<p>Rain today</p> - 21.True or false: <li> is an empty tag. (a) False (b) True
-
22.📝 On how many lines does the browser show this paragraph?
<p>Stars shine<br>Sky is blue<br>Birds sing<br>Rivers flow<br>Roses are red</p> -
23.📝 On how many lines does the browser show this paragraph?
<p>Stars shine<br>Sky is blue<br>Roses are red<br>Rivers flow</p> - 24.Which of these has a closing tag? (a) <meta> (b) <p> (c) <br> (d) <img>
- 25.📝 You type 5 spaces between two words in a <p>. How does the browser show them? (a) as 5 spaces (b) as a dot (c) as one space (d) as a new line
- 26.Which of these has a closing tag? (a) <img> (b) <hr> (c) <meta> (d) <b>
- 27.Which of these is an empty tag? (a) <ul> (b) <br> (c) <li> (d) <h1>
- 28.Which of these is an empty tag? (a) <li> (b) <img> (c) <ul> (d) <p>
- 29.True or false: <b> is an empty tag. (a) True (b) False
-
30.📝 How many paragraphs does this code make?
<p>Rain today</p>
<h2>Rain today</h2>
<p>Rain today</p>
<h2>Hello, world!</h2>
<p>Good morning!</p> - 31.True or false: <meta> has a closing tag. (a) False (b) True
-
32.📝 On how many lines does the browser show this paragraph?
<p>Rivers flow<br>Stars shine<br>Sky is blue<br>Kites fly high<br>Birds sing</p> - 33.Which of these has a closing tag? (a) <br> (b) <meta> (c) <input> (d) <ul>
- 34.📝 Does <input> have a closing tag, or is it an empty tag? (a) an empty tag (b) has a closing tag
-
35.📝 On how many lines does the browser show this paragraph?
<p>Sky is blue<br>Roses are red</p> -
36.📝 How many paragraphs does this code make?
<p>Cricket is fun.</p>
<p>I love mangoes.</p>
<h2>Cricket is fun.</h2>
<p>Fun facts</p> - 37.True or false: <meta> is an empty tag. (a) False (b) True
- 38.Which of these has a closing tag? (a) <img> (b) <br> (c) <input> (d) <h1>
- 39.📝 Does <img> have a closing tag, or is it an empty tag? (a) an empty tag (b) has a closing tag
-
40.📝 On how many lines does the browser show this paragraph?
<p>Rivers flow<br>Birds sing<br>Stars shine<br>Kites fly high<br>Roses are red</p>
Answer key
- 3
- 2
- has a closing tag
- an empty tag
- 3
- True
- <title>
- 4
- 2
- 3
- starts a new line
- False
- a paragraph
- 3
- 2
- 5
- 4
- a line across the page
- <li>
- 2
- False
- 5
- 4
- <p>
- as one space
- <b>
- <br>
- <img>
- False
- 3
- False
- 5
- <ul>
- an empty tag
- 2
- 3
- True
- <h1>
- an empty tag
- 5
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids