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