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