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