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