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