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