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