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