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