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