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