wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

html-1

Total questions: 16

Worksheet time: 8mins

Name
Class
Date
1.

What does HTML stand for?

a)

Hyper Text Markup Language

b)

High Tech Modern Language

c)

Home Tool Markup Language

d)

Hyperlinks and Text Markup Language

2.

Which tag is used to create the largest heading in HTML?

a)

<head>

b)

<h6>

c)

<heading>

d)

<h1>

3.

What is the correct HTML tag for inserting a line break

a)

<break>

b)

<lb>

c)

<br>

d)

<newline>

4.

Which HTML element is used to define important text (typically displayed as bold)?

a)
  • <em>

b)
  • <important>

c)
  • <b>

d)

<strong>

5.

What is the correct HTML for creating a hyperlink?

6.

Which character is used to indicate an end tag in HTML?

a)
  • *

b)
  • /

c)
  • \

d)
  • <

7.

What does the <footer> element represent?

a)

The bottom part of a shoe

b)

A footer for a document or section

c)

A note at the bottom of a page

d)

The last paragraph on a page

8.

How many <h1> tags should you use on a single HTML page?

a)

As many as needed

b)

Exactly one

c)

At least two

d)

Zero

9.

HTML tags are case-sensitive (e.g., <P> is different from <p>). True or False?

a)

True

b)

False

10.

All HTML elements require both an opening tag and a closing tag. True or False?

a)

True

b)

False

11.

The <em> tag is used to emphasize text and typically displays as italic. True or False?

a)

True

b)

False

12.

What is the correct HTML5 DOCTYPE declaration?

a)
  • <DOCTYPE html>

b)
  • <!DOCTYPE HTML5>

c)
  • <!DOCTYPE html>

d)
  • <html><!DOCTYPE>

13.

Which of the following is the correct structure for a basic HTML document?

a)

<html>

<body>

<head></head>

</body>

</html>

b)

<!DOCTYPE html>

<html>

<head></head>

<body></body>

</html>

c)

<head>

<html>

<body></body>

</html>

</head>

d)

<DOCTYPE>

<body>

<html></html>

</body>

14.

What is the HTML entity for a non-breaking space?

a)
  • &space;

b)
  • &nbsp;

c)
  • &nospace;

d)
  • &sp;

15.

Which tag is used to create a horizontal line in HTML?

a)
  • <line>

b)
  • <hr>

c)
  • <horizontal>

d)
  • <hl>

16.

What is the difference between <strong> and <b> tags?

a)

<strong> indicates semantic importance, while <b> is only for visual styling

b)

They are exactly the same

c)

<b> is semantic, <strong> is only visual

d)

<strong> is deprecated, use <b> instead