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