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