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