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