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