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