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