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