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