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