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