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