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