• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/43

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

43 Cards in this Set

  • Front
  • Back
Many web sites use ________ to collect information from users and transmit that information to a server for processing.
forms
The ____ element designates a form within a Web page and contains all the text and elements that make up a form.
<form>
Any form element into which a user can enter data (such as a text box) or that a user can select or change (such as a radio button) is called a(n) ____.
field
To use JavaScript to access form controls and verify form information, you use the ____ object, which represents a form on a Web page.
Form
The ____ array contains objects representing each of the controls in a form.
elements[]
An <input> element with a type of “____” creates a simple text box that accepts a single line of text.
text
An <input> element with a type of “_______” creates a(n) password box that is used for entering passwords or other types of sensitive data.
password
An <input> element with a type of “______” creates a(n) push button that is similar to the OK and Cancel buttons you see in dialog boxes.
button
An <input> element with a type of “_____” is used to create a group of option buttons, from which the user can select only one value.
radio
You use ____ when you want users to select whether or not to include a certain item or to allow users to select multiple values from a list of items.
check boxes
The ____ element creates a selection list that presents users with fixed lists of options from which to choose.
<select>
You use ____ elements to specify the options that appear in a selection list.
<option>
The ____ object represents a selection list in a form.
Select
The ____ object represents an option in a selection list.
Option
To remove a single option from a selection list, you pass the option’s index number in the options[] array to the ____ method of the Select object.
remove()
An <input> element with a type of “reset” (<input type="reset" />) creates a(n) ____ button that clears all form entries and resets each form element to the initial value specified by its value attribute.
reset
The ____ event handler executes when a form is submitted to a server-side script.
onsubmit
The ____ event handler executes when a reset button is selected on a form.
onreset
When you have an array that is created from a group of buttons that share the same name, you can use the ____ property to determine which element in a group is selected.
checked
You can use the ____ property to determine whether an individual check box has been selected.
checked
You use _______ elements to specify the options that appear in a selection list.
<option>
The ________ element creates a selection list that presents users with fixed lists of options from which to choose.
<select>
You use _______ when you want users to select whether or not to include a certain item or to allow users to select multiple values from a list of items.
check boxes
To use JavaScript to access form controls and verify form information, you use the ______, which represents a form on a Web page
Form object
You create the ______ of a Boolean attribute by assigning the name of the attribute itself as the attribute’s value.
full form
An <input> element with a type of image (<input type="image">) creates an _________ that displays a graphical image and transmits a form’s data to a Web server.
image submit button
The empty <input> element is used to generate _______ that create different types of interface elements, such as text boxes, radio buttons, and so on.
input fields
When a Boolean attribute is not assigned a value, it is referred to as having a _______.
minimized form
The _______ event handler executes when a reset button is selected on a form.
onreset
The _______ event handler executes when a form is submitted to a server-side script (in other words, when a submit button is selected on a form).
onsubmit
The _______ represents an option in a selection list.
Option object
An <input> element with a type of “password” (<input type="password" />) creates a _______ that is used for entering passwords or other types of sensitive data.
password box
An <input> element with a type of “button” (<input type="button" />) creates a _______ that is similar to the OK and Cancel buttons you see in dialog boxes.
push button
An <input> element with a type of “radio” (<input type="radio" />) is used to create a group of _______, or _______, from which the user can select only one value
radio buttons, option buttons
An <input> element with a type of “reset” (<input type="reset" />) creates a _____ that clears all form entries and resets each form element to the initial value specified by its _____ attribute.
reset button, value
The _____ object represents a selection list in a form.
Select
An <input> element with a type of “submit” (<input type="submit" />) creates a _______ that transmits a form’s data to a Web server.
submit button
An <input> element with a type of “text” (<input type="text" />) creates a simple _____ that accepts a single line of text
text box
Name the Four primary elements are used within the <form> element to create form controls
<input>, <button>, <select>, and <textarea>
the ______ object represents a form control, such as a text box.
Input
The Document object includes a ______ array that contains all of the forms on a web page.
forms[]
The empty ______ element is used to generate ______ fields that create different types of interface elements, such as text boxes, radio buttons, and so on.
<input>, input
Match each item with a statement below:
a. PHP f. Select object
b. MIME g. Option object
c. <select> element h. image submit button
d. isNaN() function i. reset button
e. check boxes
1. Displays a graphical image and transmits a form’s data to a Web server
2. Popular server-side scripting language that is used to process form data
3. Displays choices in a drop-down menu or scrolling list known as a selection list
4. Clears all form entries and resets each form element to the initial value specified by its value
attribute
5. Represents a selection list in a form
6. Protocol that was originally developed to allow different document types to be transmitted as
attachments to e-mail messages
7. Represents an option in a selection list
8. Determines whether the value entered by the user is a number
9. Used when you want users to select whether or not to include a certain item or to allow users to select
multiple values from a list of items
1. ANS: H PTS: 1 REF: 259
2. ANS: A PTS: 1 REF: 223
3. ANS: C PTS: 1 REF: 227
4. ANS: I PTS: 1 REF: 260
5. ANS: F PTS: 1 REF: 250
6. ANS: B PTS: 1 REF: 226
7. ANS: G PTS: 1 REF: 250
8. ANS: D PTS: 1 REF: 237
9. ANS: E PTS: 1 REF: 244