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