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