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