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