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