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