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