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