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