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