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