wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Exploring HTML Forms and Semantics

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is the purpose of the

element in HTML?

a)

The element is used to collect user input.

b)

The element is used to create tables.

c)

The element is for styling web pages.

d)

The element is used to display images.

2.

Which attribute is used to specify the action URL in a form?

a)

action

b)

method

c)

target

d)

url

3.

What is the difference between and ?

a)

allows for unlimited character length.

b)

The main difference is that masks the input characters, while does not.

c)

Both inputs display characters in plain text.

d)

is used for numeric input only.

4.

How do you create a dropdown list in an HTML form?

a)

b)

c)

d)

Option 1

5.

What does the

a)

The

b)

The

c)

The

d)

The

6.

Explain the significance of semantic HTML.

a)

Semantic HTML enhances accessibility, improves SEO, and provides a clearer structure for web content.

b)

Semantic HTML is outdated and not used in modern web development.

c)

Semantic HTML is only for styling purposes.

d)

Semantic HTML has no impact on website performance.

7.

What is the purpose of the

tag in HTML?

a)

The

tag is used to define a header for a document or section.

b)

The

tag is used to define the main content of a webpage.

c)

The

tag is used to create a footer for a document.

d)

The

tag is used to insert images into a document.

8.

How does the

tag differ from the
tag?

a)

The

tag is for grouping multiple sections, while the
tag is for standalone content.

b)

The

tag is for self-contained content, while the
tag is for thematic groupings within a document.

c)

The

tag can only contain text, while the
tag can contain any HTML element.

d)

The

tag is used for navigation, while the
tag is for images.

9.

What is the role of the

element in a webpage?

a)

The

element is used to define the main content of a webpage.

b)

The

element defines the footer section of a webpage.

c)

The

element is responsible for the navigation menu of a webpage.

d)

The

element is used to display advertisements on a webpage.

10.

Why is it important to use semantic elements in HTML?

a)

They make the website load faster.

b)

It is important to use semantic elements in HTML because they improve accessibility, enhance SEO, and provide better structure for web content.

c)

They are only necessary for mobile devices.

d)

They are used to style the webpage.