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