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