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