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