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