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