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