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