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