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