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