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