QUESTIONS AND CORRECT ANSWERS
What attribute do you add to the <form> element to access the CGI script at
www.example.com/cgi-bin/registration ? - CORRECT
ANSWER action="www.example.com/cgi-bin/registration"
What attribute identifies the form control? - CORRECT ANSWER name
What attribute do you use to indicate a password field? - CORRECT
ANSWER type="password"
What attribute do you use for an input box containing a telephone number? - CORRECT
ANSWER type="tel"
What attribute do you use for an input box containing a hypertext link? - CORRECT
ANSWER type="url"
What attribute do you use to associate a label with the input control pWord? - CORRECT
ANSWER for="pWord"
What attribute do you use to set the default value of a field to "United States"? - CORRECT
ANSWER value="United States"
What code do you enter to specify the placeholder text "nnn-nn-nnnn"? - CORRECT
ANSWER placeholder="nnn-nn-nnnn"
What code do you enter to create a date control for the expireDate field? - CORRECT
ANSWER <input name="expireDate" type="date" />