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