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