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