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