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