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