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