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