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