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