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