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