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