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