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