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