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