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