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