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