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