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