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