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