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