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