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