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