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