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