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