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