WorksheetsHTML5-FORMS
Total questions: 15
Worksheet time: 9mins
What is the correct HTML for making a checkbox?
<checkbox>
<input type="checkbox">
<check>
<input type="check">
What is the correct HTML for making a drop-down list?
<list>
<input type="dropdown">
<input type="list">
<select>
What is the correct HTML for making a text area?
<input type="textbox">
<input type="textarea">
<textarea>
In HTML, which attribute is used to specify that an input field must be filled out?
required
validate
formvalidate
placeholder
The action attribute tells the form:
How to send the form's data
Where to send the form's data
When to send the form's data
The viewer never sees the transfer of data when the form uses <form method="get">.
True
False
To accept the website link from the user what will be used?
<input type="link">
<input type="search">
<input type="url">
<input type="email">
The select field in a form
is used inside an input element.
provides users with a set of options to choose from.
auto-completes as the user types data.
cannot have a default option setting.
An Email address field in a form
<input type="email" id="email">
<input type="text" id="email">
<email type="text" id="email">
<input text="email" id="email">
A comment field for multiple lines of text
<comments type="textarea" id="comments">
<input type="textarea" id="textarea">
<input type="textarea" rows="6" cols="50">
<textarea rows="6" cols="50"></textarea>
Which allows the user to pick just one of a number of option
Checkbox
Radio button
Drop down list
Password input
Which of the following are input restrictions that can be applied to a textbox?
maxlength attribute
max & min attributes
required
disabled
method
Which of the following are correct codes to submit a form?
<input value="submit" name="submit">
<input type="submit" name="submit">
<input type="image" name="submit">
<input type="button" name="submit">
Input restriction to be used if the users must enter their phone number in a specific way is (a) .
The attribute which allows more than one values to be entered by the user is (a) .
