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