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