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