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