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