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