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