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