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