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