Quiz 7
Choose the item below that is not a valid value for the input element's type attribute.
Select the attribute used to limit the number of characters that a text box will accept.
maxlength
Select the type of form control that "disguises" the characters that are typed.
password
Select the value of the type attribute that configures an HTML5 slider control.
range
An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose.
select list
Select the form control below that does not use the <input> tag.
select list
Select the attribute used to limit the width of a text box as displayed in a browser.
size
Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.
both <input type="reset"> and <button type="reset">Reset</button>
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.
both <label>Phone: <input type="text" name="customerPhone" ></label> and <label for="Phone">Phone: </label><input type="text" name="customerPhone" id="Phone" >
Select the form control from the choices below that may be used to submit a form.
<input type="submit" >
Select the HTML tag below that configures a textbox with the name "email" and a width of 40 characters.
<input type="text" name="email" size="40" >
The purpose of the ________ is to configure a label for a <fieldset>.
<legend>
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.
<textarea name="feedback" rows="3" cols="60"></textarea>
Select the statement below that is true about forms.
A form can be used to pass information to a program or script on the web server.
Select the true statement from those listed below.
The input element with type="email" will cause browsers that do not support the attribute to display a text box.
The HTML5 ________ form control provides the user with a selection of choices along with an option to enter information.
datalist
When configuring a group of radio button form controls, the value of the ________ attribute on each radio button must be the same.
name
What attributes are valid for the <select> tag?
name, id, multiple, selected
Select the value of the type attribute that configures an HTML5 spinner control.
number
Use the ________ attribute on the <form> tag to specify the name and location of the script that will process the form control values.
action