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