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