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