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