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