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