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