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