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