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