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