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