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