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