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