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