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