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