Web Tech: Chapter 10

24 July 2022
4.7 (114 reviews)
26 test answers

Unlock all answers in this set

Unlock answers (22)
question
Select the form control from the choices below that may be used to submit a form.
question
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone. Phone:
answer
question
Select the HTML code to configure a button that, when clicked, will automatically reset form fields to their default values.
answer
question
Choose the item below that is not a valid value for the input element's type attribute. radio url telephone text
answer
telephone
question
Select the form control below that would be most appropriate to accept free-form comments about your website. select list text box scrolling text box none of the above
answer
scrolling text box
question
Select the HTML tag below that configures a textbox named "email" that is 40 characters wide. answer
question
Use the ______ attribute on the form element to specify the name and location of the script that will process the form control values. action process method none of the above
answer
action
question
Select the attribute used to limit the number of characters that a text box will accept. size maxlength limit columns
answer
maxlength
question
Select the statement below that is true about forms. the form element is optional it is recommended to use mailto: as the action on a form since that is the easiest for the web developer a form can be used to pass information to a program or script on the web server none of the above is true
answer
A form can be used to pass information to a program or script on the web server
question
Select the type of form control that "disguises" the characters that are typed. text box password box encrypt box hidden box
answer
password box
question
Select the true statement from the choices below. a scrolling text box is created using an input element with type="textarea" a text box is created using an input element with type="box" a select list is created using select and input elements a scrolling text box is created using a textarea element
answer
A scrolling text box is created using a textarea element.
question
Select the value of the type attribute that configures an HTML5 spinner control. spinner range number input
answer
Number
question
Select the value of the type attribute that configures an HTML5 slider control. spinner range number input
answer
Range
question
The HTML5 ________ form control provides the user with a selection of choices along with an option to enter information. select list check box datalist slider
answer
Datalist
question
Choose the attribute selector below that will target submit buttons. input[type="submit"] submit submit[input] input.submit
answer
input[type="submit"]
question
You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system. Select the form control that is best to use for this purpose. check box radio button text box scrolling text box
answer
Check box
question
Select the element used to visually group a number of form controls. group fieldset form label
answer
Fieldset
question
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters. none of the above
answer
question
Select the true statement from those listed below. The input element with type="email" will cause all browsers to edit for a valid e-mail address. The required attribute will cause all browsers to verify that the user has entered information into the form control. The input element with type="date" will cause all browsers to display a calendar control. The input element with type="email" will cause browsers that do not support the attribute to display a text box.
answer
The input element with type="email" will cause browsers that do not support the attribute to display a text box.
question
Select the attribute used to configure the width of a text box as displayed in a browser. size maxsize limit columns
answer
size
question
Select the form control below that does not use the input element. text box select list checkbox radio button
answer
select list
question
_______ is a standard method or protocol for web pages to request special processing on the web server, such as database queries, sending e-mails, or handling form data. fieldset Common Gateway Interface JavaScript MIME
answer
Common Gateway Interface
question
The purpose of the _______ element is to configure a label for a fieldset element. label p form legend
answer
legend
question
When configuring a radio button form control, the value of the _____ of each radio button must be the same. name id value none of the above
answer
name
question
What attributes are valid for the select element? name, id, multiple name, id, multiple, rows, cols name, id, multiple, selected name, id, multiple, checked
answer
name, id, multiple
question
An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose. check box radio button text box select list
answer
Select List