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