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