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