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