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