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