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