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