Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML5-FORMS

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.

What is the correct HTML for making a checkbox?

a)

<checkbox>

b)

<input type="checkbox">

c)

<check>

d)

<input type="check">

2.

What is the correct HTML for making a drop-down list?

a)

<list>

b)

<input type="dropdown">

c)

<input type="list">

d)

<select>

3.

What is the correct HTML for making a text area?

a)

<input type="textbox">

b)

<input type="textarea">

c)

<textarea>

4.

In HTML, which attribute is used to specify that an input field must be filled out?

a)

required

b)

validate

c)

formvalidate

d)

placeholder

5.

The action attribute tells the form:

a)

How to send the form's data

b)

Where to send the form's data

c)

When to send the form's data

6.

The viewer never sees the transfer of data when the form uses <form method="get">.

a)

True

b)

False

7.

To accept the website link from the user what will be used?

a)

<input type="link">

b)

<input type="search">

c)

<input type="url">

d)

<input type="email">

8.

The select field in a form

a)

is used inside an input element.

b)

provides users with a set of options to choose from.

c)

auto-completes as the user types data.

d)

cannot have a default option setting.

9.

An Email address field in a form

a)

<input type="email" id="email">

b)

<input type="text" id="email">

c)

<email type="text" id="email">

d)

<input text="email" id="email">

10.

A comment field for multiple lines of text

a)

<comments type="textarea" id="comments">

b)

<input type="textarea" id="textarea">

c)

<input type="textarea" rows="6" cols="50">

d)

<textarea rows="6" cols="50"></textarea>

11.

Which allows the user to pick just one of a number of option

a)

Checkbox

b)

Radio button

c)

Drop down list

d)

Password input

12.

Which of the following are input restrictions that can be applied to a textbox?

a)

maxlength attribute

b)

max & min attributes

c)

required

d)

disabled

e)

method

13.

Which of the following are correct codes to submit a form?

a)

<input value="submit" name="submit">

b)

<input type="submit" name="submit">

c)

<input type="image" name="submit">

d)

<input type="button" name="submit">

14.

Input restriction to be used if the users must enter their phone number in a specific way is (a)   .

15.

The attribute which allows more than one values to be entered by the user is (a)   .