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