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