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