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