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