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