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