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