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