HTML Forms Flashcards
What required <form> attribute specifies the manner in which the browser will send form data to a web server?
method
This required <form> attribute specifies the name and location of the CGI script used to process the form.
action
What <form> method attribute value instructs the browser to append the form data to the URL for use in a query string?
get
Identify the query string in the following URL: http://www.exampledomain.com/example.php?firstname=John&lastname=Smith
?firstname=John&lastname=Smith
Identify the number of name/value pairs in the following URL: http://www.exampledomain.com/example.php?firstname=John&lastname=Smith
2
What <form> method attribute value allows sending more characters and is slightly more secure when submitting a Web-based form?
post
What Web form input type is a standard text box in which a user can enter characters?
Text Box
What Web form input type creates round option buttons in a group of two or more mutually exclusive options?
Radio Buttons
Which Web form input type creates square boxes in a group of two or more non-exclusive options?
Checkboxes
Which Web form element creates a drop-down list of two or more options from which a single selection can be made?
Single-Option Select List
Which Web form element is an exposed list of two or more options, optionally scrollable, from which a user can make more than one selection?
Multiple-Option Select List
Which Web form element is a scrolling text field where the user can enter multiple lines of text?
Textarea
Which Web form input type is a text box that visually masks the entered characters as filled circles?
Password
Which Web form input type provides a button that allows users to navigate and select a local file for uploading?
File
Which Web form component is a button that, when clicked, causes the form action attribute value to process?
Submit Button