Ch10: Form Basics Flashcards

1
Q

What will happen when a browser encounters a form control that it does not support?

A

The browser will display an input text box.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which attribute of the form element is used to specify the name and location of the script that will process the form field values?

A

Action

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following describes a variety of items, such as text boxes and buttons, that accept information from a web page visitor on a form?

A

form controls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following would configure a text box with the name “city” and a width of 35 characters?

A

An input element with the type, name, and size attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You would like to accept a number that is in a range from 1 to 50. The user needs visual verification of the number selected. Which of the following form controls is best to use for this purpose?

A

spinner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following form controls would be appropriate for an area that your visitors can use to type in their email address?

A

text box

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You would like to conduct a survey and ask your web page visitors to vote for their favorite search engine. Which of the following form controls is best to use for this purpose?

A

radio button

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following form controls would be appropriate for an area that your visitors can use to type in comments about your website?

A

scrolling text box

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following would configure a scrolling text box with the name comments, four rows, and up to thirty characters in a row?

A

A textarea element with the name, rows, and cols attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following is an HTML element that serves to visually organize from controls on a web page?

A

fieldset

How well did you know this?
1
Not at all
2
3
4
5
Perfectly