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