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