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