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