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