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