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