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