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