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