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