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