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