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