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