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