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