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