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