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