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