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