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