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