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