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