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