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