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