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