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