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