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