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