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