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