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