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