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