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