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