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