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