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