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