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