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