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