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