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