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