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