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