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