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