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