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