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