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