Make your own free website on Tripod.com
 
Name:     Logon ID: 
 
Email: 

XHTML - Semester Exam

 
Identify the letter of the choice that best matches the phrase or definition.
a.
data input
f.
select
b.
checkbox
g.
textarea
c.
attributes
h.
password
d.
radio button
i.
select control
e.
input
j.
target
 

 1. 

This kind of input control creates a list item
 

 2. 

This kind of control either can be a radio button, a check box, a submit button, or a reset button
 

 3. 

These kinds of controls either are HTML tags or attributes of HTML tags
 

 4. 

This category of control eliminates a visitor's having to type information into a text or textarea field
 

 5. 

When one of these is selected, all of the other ones in the list are deselected automatically
 

 6. 

Nearly all of the HTML tags used to create forms have at most one of these each
 

 7. 

This kind of field is useful when an extensive amount of input from the Web page visitors is required or desired
 

 8. 

The use of asterisks, for example, to mark the entered text in this kind of field is designed to help protect text from being observed as it is being entered
 

 9. 

If a choice in a selection menu is highlighted, it means that this attribute has been used for that choice
 

 10. 

This attribute of the <form> tag indicates the location at which a resource will display
 
 
Modified Multiple Choice
 

 11. 

Which of the following controls creates a list item?
 a.
dropdown
 c.
checkbox
 b.
radio
 d.
list
 

 12. 

Which of the following is a main component of a Web page form?
 a.
<form> tag
 c.
link to a major search engine
 b.
input controls
 d.
Submit button
 

 13. 

A text input control is a ____ box.
 a.
text
 c.
password text
 b.
textarea
 d.
link
 

 14. 

A password always appears as a series of which of the following?
 a.
characters
 c.
bullets
 b.
ampersands
 d.
asterisks
 

 15. 

When a Web page visitor clicks the Submit button on the form, which of the following is sent to be processed?
 a.
dimensions of the field
 b.
parameters of the control
 c.
value of the data contained with the control
 d.
name of the control
 

 16. 

A(n) ____ control is any type of input mechanism on a form.
a.
parameter
c.
variable
b.
form
d.
input
 

 17. 

The tabindex attribute of the <input> tag sets tabbing order among control elements.
 

 18. 

The paragraph input control creates a multiple-line field for a relatively large amount of text. _________________________

 

 19. 

The <____________________/ > tag defines the controls used in the form, using a variety of type attribute values.
 

 

 20. 

The ____ attribute of the <form> tag indicates the manner in which the data entered in the form is sent to the server to be processed.
a.
server
c.
method
b.
process
d.
http
 

 21. 

A ____ input control is either a radio button, a check box, a Submit button, a Reset button, or a selection menu.
a.
capture
c.
data
b.
list
d.
select
 

 22. 

If a selection menu includes the size attribute with a value of 3, ____ choice(s) will appear in the menu.
a.
one
c.
three
b.
two
d.
four
 

 23. 

Which of the following controls sends a form to a server for processing?
a.
send
c.
enter
b.
reset
d.
submit
 

 24. 

Which of the following attributes specifies a reset button?
a.
type=“option”
c.
type=“reset”
b.
reset=“type”
d.
master=“reset”
 

 25. 

If you do not specify a size attribute for a select menu, only one option is displayed, along with a list arrow.
 

 26. 

The ____________________ button sends the information to the appropriate location for processing.
 

 

 27. 

The reset input control sends the information from a form to the appropriate location for processing. _________________________

 

 28. 

Which of the following controls resets the form?
a.
reset
c.
empty
b.
new
d.
clear
 

 29. 

A Web page form must include a Reset button. _________________________

 

 30. 

To select several consecutive choices in a selection menu, a user first must select one choice and then press and hold the ____________________ key while selecting the last choice.
 

 

 31. 

With check boxes, only one option can be selected at a time.
 

 32. 

In a(n) ____ box, a visitor may enter small amounts of text.
a.
textarea
c.
text
b.
capture
d.
link
 

 33. 

Few Web sites use CGI scripts to process forms because this is an inefficient way to handle the data that is sent to a form.
 

 34. 

A(n) ____ control creates a drop-down list or menu of choices from which a visitor can select an option or options.
a.
radio
c.
option
b.
checkbox
d.
select
 

 35. 

Which of the following buttons deletes any data previously typed into text or textarea fields?
a.
Reset
c.
New
b.
Restore
d.
Clear
 

 36. 

The post method is a program written in a programming language that communicates with the Web server.
 

 37. 

The size=“2” attribute means which of the following?
a.
two characters will appear, but more may be entered, depending on the maxlength attribute
b.
two characters will appear, and no more may be entered
c.
at most, two characters can be entered
d.
one character will appear, and the second will be truncated
 

 38. 

With a checkbox control, the default can be changed so a particular check box is preselected as the default, by using the ____ value within the <input> tag.
a.
default
c.
preselect
b.
chosen
d.
checked
 

 39. 

The ____ attribute of the text tag specifies the maximum length of the input field.
a.
size
c.
limit
b.
maxlength
d.
control
 

 40. 

The ____ method sends the name-value pairs to the end of the URL indicated in the action attribute.
a.
base
c.
serv
b.
get
d.
post
 

 41. 

All controls except one have a(n) ____ attribute.
a.
value
c.
link
b.
select
d.
name
 

 42. 

The value attribute of the <input> tag is optional for radio and checkbox controls.
 

 43. 

Using a Web page form for user input reduces the potential for errors because customers enter data or select options from the form included directly on the Web page.
 

 44. 

When the ____________________ attribute specifies the same number of characters as the size attribute, all characters entered by a user will appear in the text box.
 

 

 45. 

Which of the following controls is identical to text fields used for single-line data entry?
a.
submit
c.
radio
b.
password
d.
textarea
 

 46. 

A FORM script sends the information input on a Web page form to the Web server for processing.
 

 47. 

The text control has two attributes: ____.
a.
size and maxlength
c.
post and get
b.
cols and rows
d.
width and height
 

 48. 

The <legend> tag within the fieldset tag is required.
 

 49. 

A radio button typically displays as which of the following?
a.
small rectangle
c.
open circle
b.
bullet
d.
none of the above
 

 50. 

Multiple radio buttons in the same group can be set to a checked state at the same time.
 

 51. 

The maximum length of a text field may exceed the size of the field that displays on the form.
 

 52. 

Which of the following is a program written in a programming language (such as Perl) that communicates with the Web server?
a.
URL imagemap
c.
post method
b.
HTML function
d.
CGI script
 

 53. 

Using ____________________ is especially helpful in cases where some information is required and some is optional.
 

 

 54. 

By default, all check boxes are pre-selected. _________________________

 

 55. 

In a radio control each choice is preceded by a radio ____.
a.
menu
c.
button
b.
bar
d.
either b or c
 

 56. 

Each choice in a check box list can be either on or off.
 

 57. 

The ____ attribute of the <form> tag indicates the URL for the action to be completed by the server.
a.
process
c.
method
b.
action
d.
http
 

 58. 

A(n) ____________________ button typically appears as an open circle.
 

 

 59. 

The ____________________ method sends a separate data file with the name-value pairs to the URL (or e-mail address) indicated in the action attribute.
 

 

 60. 

The <____> tag defines the text that displays in the grouping borders.
a.
aggregate
c.
cluster
b.
key
d.
legend
 

 61. 

Which of the following controls creates a menu of choices from which a visitor chooses?
a.
option
c.
choice
b.
menu
d.
select
 

 62. 

It is a good rule of thumb to use between 50 and 100 columns of text in a textarea field.
 

 63. 

All options in a selection menu are contained within the <select> and </select> tags.
 

 64. 

The ____________________ button clears any input that was entered in the form, restoring the input controls back to the initial values.
 

 

 65. 

The textarea control has two primary attributes: ____.
a.
rows and cols
c.
select and option
b.
size and width
d.
size and maxlength
 

 66. 

The ____________________ attribute of the text control determines the number of characters that display on the form.
 

 

 67. 

Which of the following tags gives you the option of using an image for a Submit button, rather than using the default button style?
a.
<button>
c.
<image button>
b.
<option>
d.
<modify>
 

 68. 

A(n) ____________________ input control is either a text box, a textarea box, or a password text box.
 

 

 69. 

A Web page form must include a Reset button.
 

 70. 

In a(n) ____________________ text box, a visitor may enter a password.
 

 

 71. 

The two values of the ____ attribute in HTML are get and post.
a.
method
c.
http
b.
server
d.
process
 

 72. 

A(n) ____________________ control creates a list item in a list from which more than one item can be chosen.
 

 

 73. 

A checkbox control allows a Web page visitor to select only one choice from a list of choices.
 

 74. 

For a textarea field, no value attribute is possible because of the variability of the input.
 

 75. 

A(n) ____________________ control tells the browser to send the data on the form to the server.
 

 

 76. 

In a(n) ____________________ box, a visitor may enter larger amounts of data.
 

 

 77. 

Form controls are useless unless the information entered in the form can be submitted for ____.
a.
aggregation
c.
concatenation
b.
processing
d.
all of the above
 

 78. 

Information on forms can be sent by e-mail to an e-mail address or can be used to update a database.
 

 79. 

An embedded style sheet changes the style for a single Web page.
 

 80. 

To select multiple choices in a selection menu, a user first must select one choice and then press and hold the ____________________ key while clicking other choices in the list.
 

 

 81. 

You should validate the code after the form is completed and view and test it using your browser.
 

 82. 

A select input control creates a series of check boxes for Web visitors to use.
 

 83. 

The ____________________ control helps to group related form elements together.
 

 

 84. 

A(n) ____________________ control returns all input controls to the default status.
 

 

 85. 

The <____________________> tag creates a form that allows user input.
 

 

 86. 

If the ____ attribute was not used to create a selection menu, the Web page visitor will be allowed to select only one choice in the menu.
a.
several
c.
choices
b.
multiple
d.
many
 

 87. 

The use of which of the following controls eliminates the visitor’s having to type information into a text field?
a.
text
c.
password
b.
select
d.
textarea
 

 88. 

A ____ control creates a list item in a list from which only one item can be chosen.
a.
solo
c.
list
b.
select
d.
radio
 

 89. 

The get method sends the name-value pairs to the end of the URL indicated in the action attribute.
 

 90. 

To set a particular radio button as the default, you use the ____________________ value within the <input /> tag.
 

 

 91. 

The default type for the <input /> tag is a ____.
a.
radio button
c.
textarea
b.
text box
d.
checkbox
 

 92. 

A text control creates a text box that is used for a single line of input. _________________________

 

 93. 

Which of the following attributes, when used with the text tag, determines the number of characters that display on a form?
a.
width
c.
size
b.
character
d.
dimension
 

 94. 

If you specify a maximum number of characters that is greater than the number of characters specified in the size attribute, the additional characters will be cut off.
 

 95. 

If no ____ attribute value is specified, a selection menu initially displays only one option, along with a list arrow to view other choices in the list.
a.
size
c.
default
b.
choice
d.
checked
 

 96. 

When you are collecting information from an online form, it is very important to test that the information is accurate.
 

 97. 

The textarea control uses the ____________________ attribute to specify the number of columns in the textarea field.
 

 

 98. 

The resume and send controls create the Reset and Submit buttons.
 

 99. 

____ controls are similar to text controls, except that they allow multiple lines of text input.
a.
Password
c.
Capture
b.
Textarea
d.
Either a or b
 

 100. 

The ____ attribute identifies the specific information that is being sent when the form is submitted for processing.
a.
target
c.
spec
b.
this
d.
name
 



 
         Start Over