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