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