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