wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WEBDEV11 - WEB FORMS QUIZ

Total questions: 30

Worksheet time: 20mins

Name
Class
Date
1.

Which HTML element is used to create a web form?

a)

<form>

b)

<fieldset>

c)

<input>

d)

<section>

2.

Which attribute in the <form> tag specifies where to send form data when submitted?

a)

method

b)

target

c)

name

d)

action

3.

The <fieldset> element is used to ________.

a)

Add a title to a webpage

b)

Group related form elements

c)

Create a hyperlink

d)

Control form colors

4.

Which tag defines a caption or title for a group of form fields?

a)

<label>

b)

<title>

c)

<legend>

d)

<caption>

5.

What is the correct HTML tag for a single-line text field?

a)

<input type="text">

b)

<input type="textbox">

c)

<input text="type">

d)

<textarea>

6.

Which element is used for entering multiple lines of text?

a)

<textarea>

b)

<input type="text">

c)

<label>

d)

<p>

7.

The <label> tag is used to:

a)

Display data from the server

b)

Provide and define a text area

c)

Provide a description for an input field

d)

Submit form data to the server

8.

The <input type="checkbox"> element allows a user to:

a)

Choose only one option

b)

Enter text input

c)

Select from a drop-down list

d)

Choose multiple options

9.

The <input type="radio"> element is used for_______.

a)

Selecting one option from a group

b)

Uploading a file

c)

Selecting multiple answers

d)

calling someone over the radio

10.

What HTML element is used to create a drop-down menu?

a)

<menu>

b)

<select>

c)

<dropdown>

d)

<option>

11.

The <fieldset> tag is used to create a clickable button.

a)

True

b)

False

12.

The method attribute in the form tag determines how data will be sent to the server.

a)

True

b)

False

13.

A well-designed form should have a logical flow of information.

a)

True

b)

False

14.

Labels are used to describe or identify text boxes and other fields.

a)

True

b)

False

15.

The <legend> element is nested inside the <form> tag but outside the <fieldset>.

a)

True

b)

False

16.

The <input type="email"> automatically checks if the user entered a valid email format.

a)

True

b)

False

17.

Checkboxes are used when only one option is allowed.

a)

True

b)

False

18.

The <select> element allows users to pick one or more choices from a list.

a)

True

b)

False

19.

The submit button sends all form data to the location defined in the action attribute.

a)

True

b)

False

20.

The value attribute is used to label the form field that users see.

a)

True

b)

False

21.

The element used to start and end a web form is the (a)   tag.

22.

The attribute that defines where the form data will be sent is called the (a)   attribute.

23.

A group of related fields can be organized using the (a)   tag.

24.

The element that provides a description for each form field is called a (a)   .

25.

The attribute that identifies the data being collected, like "name" or "email," is the (a)   attribute.

26.

To make a form field display sample text or a hint, use the (a)   attribute.

27.

The input type used for multiple selections is (a)   .

28.

The input type used for single-choice selection is (a)   .

29.

Each item in a drop-down list is created using the (a)   tag inside the <select> element.

30.

The button that sends all entered data to the server is created using <input type=" (a)   ">.