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