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