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