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