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