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