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