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