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