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