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