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