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