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