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