HTML Sixth Edition

Practice Test Chapter 6
INSTRUCTIONS: Answer each question below. Enter your name and click the 'Grade Test' button to receive a graded study guide. You will not get a grade until all questions are answered.
A ____ control also creates a text box for a single line of input except that the characters entered into the field can appear as asterisks or bullets.
 A: password
 B: text
 C: submit
 D: security
All controls except ____ have a value attribute.
 A: textarea
 B: checkbox
 C: password
 D: radio
One way to process information in a form is to use a(n) ____ script.
A text box allows for ____.
 A: zero to 100 lines of input
 B: no lines of input
 C: up to five lines of input
 D: a single line of input
If the number of options from which a Web page visitor can choose is very large, a good choice would be to use the ____ tag before the first < option > tag.
 A: < selectgroup >
 B: < optgroup >
 C: < optlist >
 D: < select >
To select multiple choices, a user must first select one choice and then press and hold the ____ key while clicking other choices in the list.
In a form data file, a(n) ____ strings together all of the name-value pairs to make them easier to read.
 A: %
 B: *
 C:  &
 D: +
A Submit button is created by using the attribute type= "submit" in a(n) ____ tag.
 A: < button / >
 B: < input / >
 C: < type / >
 D: < submit / >
The default value for the < legend > alignment is ____.
 A: right
 B: left
 C: center
 D: none
A ____ control indicates the number of rows and columns for the area.
 A: textarea
 B: radio
 C: checkbox
 D: select
A ____ control creates a field that allows multiple lines of input.
 A: fieldarea
 B: textarea
 C: text
 D: fieldset
Form statements start with the ____ tag.
 A: < statement >
 B: < form >
 C: < start >
 D: < input >
The ____ attribute of the < form > tag specifies the action that is taken when the form is submitted.
 A: get
 B: post
 C: action
 D: method
In the HTML code, size="25" sets the text field to 25 ____ in length.
 A: pixels
 B: characters
 C: lines
 D: inches
The ____ attribute of the < form > control indicates the location at which the resource will be displayed.
 A: location
 B: position
 C: value
 D: target
If you want a user to be able to add a comment on an order form, the best control to use would be a ____.
 A: check box
 B: textarea box
 C: text box
 D: radio button
When data from a form is submitted, it appears in the data file as ____.
 A: get-post pairs
 B: post-get pairs
 C: value-name pairs
 D: name-value pairs
When creating a Submit button, the ____ tag gives you the option of using an image for the button, rather than using the default button style.
 A: < submit >
 B: < button >
 C: < type >
 D: < picture >
To validate a form.html file, upload it at ____.
A(n) ____ is any type of input mechanism on a form.
 A: text box
 B: text control
 C: input box
 D: input control

Enter your name and click the 'Grade Test' button.