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