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