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