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