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