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