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