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