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