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