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