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