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