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