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