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