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