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