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