Multiple Choice
Identify the
letter of the choice that best completes the statement or answers the question.
|
| 1. | Which
part of the form tag specifies the submission page of the form?
|
| 2. | Which
tag creates a multi-line textbox field?
|
| 3. | Which
input type is appropriate for selecting exactly one option out of a small list of possible
options?
|
| 4. | Which
tag do you use to create a dropdown field? a. | input | b. | dropdown | c. | select | | |
|
| 5. | What
is the proper use of the label tag? a. | <label for=elem>State
Description</label>
<input type=text name=elem
value=stat /> | b. | <label for=elem>Status
Description</label>
<input type=text id=elem
value=stat /> | c. | <label for=text>Statatistic
Description</label>
<input type=text id=elem
name=elem value=stat /> | | |
|
| 6. | What
tags are used to logically group fields within a form? a. | fieldset &
legend | b. | fields & legend | c. | fieldset &
label | | |
|
Short Answer
|
| 7. | Why
do we use javascript to validate forms?
|
| 8. | What
is a benefit of using a library like LiveValidation?
|
| 9. | Describe the appropriate validators one could apply to a required phone number
field.
|