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