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