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