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