Name: 
 

Forms



True/False
Indicate whether the sentence or statement is true or false.
 

 1. 

<input>, <select>, and <area> are examples of form controls.
 

 2. 

For the <input> element the attribute name is used to define the name of the form element.
 

 3. 

The <input> element type radio permits multiple selections.
 

 4. 

When the form’s submit button is clicked, only the completed form element data is sent to the browser.
 

 5. 

To create a group of radio buttons, all the radio buttons in the group must have the same name attribute but assigned different values.
 

Multiple Choice
Identify the letter of the choice that best completes the statement or answers the question.
 

 6. 

Which of the following is used to gather information from the visitor of a Web site?
a.
Form
c.
Table
b.
List
d.
Frame
 

 7. 

In a form, what is the attribute that specifies a URL to which form data will be submitted?
a.
method
c.
action
b.
enctype
d.
accept-charset
 

 8. 

The button that the user can click to transfer information from the form to the Web server is called _____.
a.
Clear
c.
Transfer
b.
Input
d.
Submit
 

 9. 

Which one of the following is NOT a scripting language?
a.
XHTML
c.
CGI
b.
ASP
d.
JSP
 

 10. 

The attribute that specifies how form data will be submitted is _____.
a.
action
c.
enctype
b.
method
d.
accept-charset
 

 11. 

The form control that displays choices in a drop-down menu is _____.
a.
<input>
c.
<button>
b.
<textarea>
d.
<select>
 

 12. 

_____ is an <input> element attribute that determines how many characters wide a text field is.
a.
size
c.
maxlength
b.
width
d.
type
 

 13. 

The value of the <input> element’s type attribute that is used to clear all form entries is _____.
a.
clear
c.
remove
b.
reset
d.
submit
 

 14. 

How is form data submitted to a Web server?
a.
in “value, name” pairs
c.
as values separated by commas
b.
in “name=value” pairs
d.
as values separated by paragraph marks
 

 15. 

Each character entered into a password text box appears ___.
a.
with the ampsersand (&) symbol
c.
as a percentage %
b.
with the number (#) symbol
d.
as an asterisk *
 

 16. 

The ______ element displays choices in a drop-down menu or scrolling list known as a selection list.
a.
button
c.
input
b.
select
d.
textarea
 

 17. 

The form element that allows for multiple lines of text input is the ___.
a.
<input>
c.
<textarea>
b.
<select>
d.
<form>
 

Completion
Complete each sentence or statement.
 

 18. 

radio is an example of an <input> element's ____________________ attribute.
 

 

 19. 

Encoding with ____________________ ensures that data does not become corrupted when transmitted across the Internet.
 

 

 20. 

The ____________________ form control is used to create a text field in which users can enter multiple lines of information.
 

 



 
Check Your Work     Reset Help