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