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