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