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.
1.
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
2.
All controls except ____ have a value attribute.
 A: textarea
 B: checkbox
 C: password
 D: radio
3.
One way to process information in a form is to use a(n) ____ script.
 A: FTP
 B: CGI
 C: HTTP
 D: FRM
4.
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
5.
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 >
6.
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.
 A: SHIFT
 B: CTRL
 C: HTML
 D: ALT
7.
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: +
8.
A Submit button is created by using the attribute type= "submit" in a(n) ____ tag.
 A: < button / >
 B: < input / >
 C: < type / >
 D: < submit / >
9.
The default value for the < legend > alignment is ____.
 A: right
 B: left
 C: center
 D: none
10.
A ____ control indicates the number of rows and columns for the area.
 A: textarea
 B: radio
 C: checkbox
 D: select
11.
A ____ control creates a field that allows multiple lines of input.
 A: fieldarea
 B: textarea
 C: text
 D: fieldset
12.
Form statements start with the ____ tag.
 A: < statement >
 B: < form >
 C: < start >
 D: < input >
13.
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
14.
In the HTML code, size="25" sets the text field to 25 ____ in length.
 A: pixels
 B: characters
 C: lines
 D: inches
15.
The ____ attribute of the < form > control indicates the location at which the resource will be displayed.
 A: location
 B: position
 C: value
 D: target
16.
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
17.
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
18.
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 >
19.
To validate a form.html file, upload it at ____.
 A: review.w3.org
 B: validator.w3.org
 C: review.html.org
 D: validator.html.org
20.
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.