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