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