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