Deck 9: Creating Forms
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/149
Play
Full screen (f)
Deck 9: Creating Forms
1
Which element is used to organize form controls?
A) fieldset
B) fieldgroup
C) legend
D) both a and c
A) fieldset
B) fieldgroup
C) legend
D) both a and c
D
2
A(n)____ attribute identifies the script that will run when the user clicks the submit button to send the data collected by the form.
A) method
B) action
C) id
D) script
A) method
B) action
C) id
D) script
B
3
The ____ method is the most secure way to send data to the server.
A) get
B) send
C) post
D) submit
A) get
B) send
C) post
D) submit
C
4
Which of the following is the default value for the method attribute?
A) send
B) post
C) submit
D) get
A) send
B) post
C) submit
D) get
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following is NOT correct for the fieldset element?
A) By default it creates a 2px border around grouped form controls.
B) It groups a series of related form elements.
C) By default it creates a 1px border around grouped form controls.
D) all of the above
A) By default it creates a 2px border around grouped form controls.
B) It groups a series of related form elements.
C) By default it creates a 1px border around grouped form controls.
D) all of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
6
The ____ attribute sets a limit on the number of characters a user can type in a text box.
A) maxchar
B) maxsize
C) maxwidth
D) maxlength
A) maxchar
B) maxsize
C) maxwidth
D) maxlength
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
7
The ____ element is used to display prompting text on the screen.
A) prompting
B) input
C) legend
D) label
A) prompting
B) input
C) legend
D) label
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
8
A form's start and end tags must be placed ____.
A) above the tag
B) after the tag
C) within the tags
D) within the tags
A) above the tag
B) after the tag
C) within the tags
D) within the tags
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is true for the input element?
A) It should be placed below the label element code.
B) It should be placed above the label element code.
C) It is an empty element.
D) both a and c
A) It should be placed below the label element code.
B) It should be placed above the label element code.
C) It is an empty element.
D) both a and c
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
10
The ____ attribute associates the label with the id value in the input element.
A) name
B) label
C) for
D) input
A) name
B) label
C) for
D) input
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
11
The software that runs on a Web file server and processes an HTML form is called a form ____.
A) processing program
B) processor
C) handler
D) software package
A) processing program
B) processor
C) handler
D) software package
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following is NOT true for an online form?
A) After you enter data into a form,you click the submit button to send the data.
B) The Common Gateway Interface sends data to a Web server.
C) Software on the server retains the data in the database.
D) The server sends the confirmation page to the browser.
A) After you enter data into a form,you click the submit button to send the data.
B) The Common Gateway Interface sends data to a Web server.
C) Software on the server retains the data in the database.
D) The server sends the confirmation page to the browser.
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following is an example of an HTML form?
A) job application form
B) financial aid form
C) survey form
D) all of the above
A) job application form
B) financial aid form
C) survey form
D) all of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
14
All of the following are examples of form controls EXCEPT ____.
A) option buttons
B) text boxes
C) radio areas
D) check boxes
A) option buttons
B) text boxes
C) radio areas
D) check boxes
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
15
Forms can be formatted using ____.
A) borders
B) padding
C) margins
D) all of the above
A) borders
B) padding
C) margins
D) all of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
16
Form data sent to the server as shown in the accompanying figure is stored electronically in a ____.
A) script
B) network
C) browser
D) database
A) script
B) network
C) browser
D) database
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
17

All of the following are examples of database software that can be used to store and manipulate data in the situation shown in the accompanying figure EXCEPT ____.
A) PHP
B) MySQL
C) MS SQL
D) Oracle
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following is NOT a scripting language?
A) PHP
B) C++
C) JavaScript
D) ASP
A) PHP
B) C++
C) JavaScript
D) ASP
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
19
A(n)____ represents a single kind of data in the database.
A) attribute
B) field
C) table column
D) data item
A) attribute
B) field
C) table column
D) data item
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
20
The ____ attribute determines the specific kind of form object that is created.
A) label
B) type
C) for
D) name
A) label
B) type
C) for
D) name
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
21
Fieldsets are also known as ____.
A) fieldgroups
B) group boxes
C) field boxes
D) all of the above
A) fieldgroups
B) group boxes
C) field boxes
D) all of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
22
Which numbered item indicates a text area in the accompanying figure?
A) 1
B) 3
C) 5
D) 6
A) 1
B) 3
C) 5
D) 6
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
23
Given the item marked 4 in the accompanying figure,the PC and Netbook options have been marked with the ____ attribute.
A) option
B) choice
C) checked
D) selected
A) option
B) choice
C) checked
D) selected
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
24
The ____ attribute sets the length of the text boxes marked 1 in the accompanying figure.
A) length
B) size
C) width
D) dimension
A) length
B) size
C) width
D) dimension
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
25
Which numbered item indicates a set of check boxes in the accompanying figure?
A) 2
B) 3
C) 4
D) 6
A) 2
B) 3
C) 4
D) 6
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
26
Given the item marked 3 in the accompanying figure,the Pennsylvania option has been marked with the ____ attribute.
A) option
B) choice
C) checked
D) selected
A) option
B) choice
C) checked
D) selected
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
27

An HTML form like the one in the accompanying figure is used for which of the following?
A) retrieving information
B) organizing data
C) sorting data
D) none of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
28
The caption text for the fieldset is entered between the ____ tags.
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
29
The ____ attribute for the item marked 7 in the accompanying figure is Register.
A) selection
B) option
C) value
D) key
A) selection
B) option
C) value
D) key
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
30
The default width for a text box,such as the one labeled "First Name" in the accompanying figure,is ____ characters.
A) 10
B) 15
C) 20
D) 25
A) 10
B) 15
C) 20
D) 25
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
31
The type attribute value for the text box marked 6 in the accompanying figure is ____.
A) password
B) text
C) masked
D) texttype
A) password
B) text
C) masked
D) texttype
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
32
Which numbered item indicates a command button that clears all data entered in the form in the accompanying figure?
A) 5
B) 6
C) 7
D) 8
A) 5
B) 6
C) 7
D) 8
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
33
By default,the caption appears in the ____ corner of the fieldset border.
A) upper-right
B) lower-right
C) lower-left
D) upper-left
A) upper-right
B) lower-right
C) lower-left
D) upper-left
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
34
The appearance of ____ can differ depending on the browser.
A) fieldset borders
B) textareas
C) text boxes
D) radio buttons
A) fieldset borders
B) textareas
C) text boxes
D) radio buttons
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
35

In the accompanying figure,which of the following is true for the emailaddress text box?
A) It is approximately 40 characters wide.
B) It is 20 characters wide by default,but can expand to 40 characters.
C) It is 0 characters wide because the size attribute is not specified.
D) none of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
36
With the tag,the ____ value for the type attribute creates a text box where stars or bullets are displayed no matter what is entered.
A) text
B) entry
C) password
D) hidden
A) text
B) entry
C) password
D) hidden
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
37
Which numbered item indicates an option button in the accompanying figure?
A) 2
B) 3
C) 4
D) 6
A) 2
B) 3
C) 4
D) 6
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
38
Which numbered item indicates a drop-down list box in the accompanying figure?
A) 2
B) 3
C) 4
D) 5
A) 2
B) 3
C) 4
D) 5
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
39
Which of the following does NOT recognize the placeholder attribute?
A) Opera
B) Safari
C) Firefox
D) Internet Explorer 9
A) Opera
B) Safari
C) Firefox
D) Internet Explorer 9
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
40
What is the default length for the type of field shown in the accompanying figure?
A) 10 characters
B) 20 characters
C) 30 characters
D) 40 characters
A) 10 characters
B) 20 characters
C) 30 characters
D) 40 characters
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
41
You can select more than one nonadjacent option from the drop-down list by using ____.
A) Ctrl+click
B) Shift+click
C) Alt+click
D) Ctrl+Alt+click
A) Ctrl+click
B) Shift+click
C) Alt+click
D) Ctrl+Alt+click
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
42
The ____ attribute serves as the heading for the option group.
A) legend
B) label
C) heading
D) for
A) legend
B) label
C) heading
D) for
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
43
A(n)____ is a form control that allows a user to choose from a list of items;all the items in the list are shown.
A) selection list
B) drop-down list box
C) option box
D) either a or c
A) selection list
B) drop-down list box
C) option box
D) either a or c
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
44
The ____ attribute of a radio button determines what data will be sent to the database if the user selects a particular button.
A) selection
B) value
C) key
D) choice
A) selection
B) value
C) key
D) choice
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
45
Each menu choice within a selection list is defined by the ____ element.
A) select
B) choice
C) option
D) menu
A) select
B) choice
C) option
D) menu
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
46
To allow the user to select more than one choice from the drop-down list,use ____.
A) selected="multiple"
B) multiple="selected"
C) selected="selected"
D) multiple="multiple"
A) selected="multiple"
B) multiple="selected"
C) selected="selected"
D) multiple="multiple"
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
47
To create an option group within a selection list,you should use the ____ tags.
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
48
The ____ tags are used if you want the user to be able to enter multiple lines of text.
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
49
The ____ attribute allows you to display a sample email address in an input box.
A) default
B) instructional
C) caption
D) placeholder
A) default
B) instructional
C) caption
D) placeholder
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
50
Which of the following is a form control that allows a user to click a list arrow to display the list and make a selection?
A) option list
B) drop-down list box
C) list box
D) choice list
A) option list
B) drop-down list box
C) list box
D) choice list
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
51
The ____ tags are used to identify each choice in a drop-down list.
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
52
Radio buttons are also known as ____ buttons.
A) option
B) choice
C) data
D) key
A) option
B) choice
C) data
D) key
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
53
The option text in a selection list should be placed between the ____ tags.
A)
B)
C)
D)
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
54
You can select more than one adjacent option from the drop-down list by using ____.
A) Ctrl+click
B) Shift+click
C) Alt+click
D) Ctrl+Alt+click
A) Ctrl+click
B) Shift+click
C) Alt+click
D) Ctrl+Alt+click
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
55
If you can make more than one choice from a group of radio buttons,what is wrong with your code?
A) The id attributes are not identical.
B) The name attributes are not identical.
C) The name attributes are identical.
D) none of the above
A) The id attributes are not identical.
B) The name attributes are not identical.
C) The name attributes are identical.
D) none of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
56
If more than one choice is visible in the drop-down list,then the ____ attribute is used within the start
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
57
When coding the text area,a(n)____ attribute identifies the field in the database associated with this form control.
A) id
B) name
C) key
D) field
A) id
B) name
C) key
D) field
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
58
To establish a default choice for a group of radio buttons,you should use ____.
A) checked="choice"
B) checked="checked"
C) checked="select"
D) selected="checked"
A) checked="choice"
B) checked="checked"
C) checked="select"
D) selected="checked"
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
59
To make an option in the selection list selected by default,use ____.
A) selected="selected"
B) selected="checked"
C) checked="selected"
D) checked="checked"
A) selected="selected"
B) selected="checked"
C) checked="selected"
D) checked="checked"
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
60
A(n)____ is a form control that allows a user to choose one or more items from a list of items.
A) radio button
B) option box
C) check box
D) choice box
A) radio button
B) option box
C) check box
D) choice box
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
61
What is the value of the type attribute for the input element that creates a command button that sends form data to the server?
A) reset
B) submit
C) send
D) post
A) reset
B) submit
C) send
D) post
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
62
All data gathered by a form is processed within that form.
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
63
Which of the following values is useful for providing instructions to users so they are not left wondering what they should type or select?
A) default
B) instructional
C) placeholder
D) caption
A) default
B) instructional
C) placeholder
D) caption
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
64
Case-Based Critical Thinking Questions
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan is not sure which attribute he needs to define for the default option in the drop-down list box.He asks Kyra to help him.Which of the following is correct?
A)
B)
C)
D)
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan is not sure which attribute he needs to define for the default option in the drop-down list box.He asks Kyra to help him.Which of the following is correct?
A)
B)
C)
D)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
65
The value of a text box can include ____.
A) spaces
B) special characters
C) numbers
D) any of the above
A) spaces
B) special characters
C) numbers
D) any of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
66
Case-Based Critical Thinking Questions
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan has a text box that he is not using,and he wants to convert it to a password field.He asks Kyra how he can do it.She suggests that he ____.
A) change the tag to the tag
B) change the value of the input type attribute to password
C) encrypt the text box
D) change the value of the input type attribute to hidden
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan has a text box that he is not using,and he wants to convert it to a password field.He asks Kyra how he can do it.She suggests that he ____.
A) change the tag to the
B) change the value of the input type attribute to password
C) encrypt the text box
D) change the value of the input type attribute to hidden
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
67
Case-Based Critical Thinking Questions
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe coaches three school teams with players in different age categories.He wants to present these age categories to his new players as options and then have them tell him to which category they belong.Which of the following form controls should Maxwell NOT use for this purpose?
A) text box
B) check box
C) radio button
D) drop-down list box
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe coaches three school teams with players in different age categories.He wants to present these age categories to his new players as options and then have them tell him to which category they belong.Which of the following form controls should Maxwell NOT use for this purpose?
A) text box
B) check box
C) radio button
D) drop-down list box
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
68
The ____ attribute determines what text appears on the button in the browser.
A) name
B) label
C) text
D) value
A) name
B) label
C) text
D) value
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
69
Case-Based Critical Thinking Questions
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe also would like to collect information about manufacturers of the racquets that players are using.There are 10 major racquet manufacturers.Which of the following form controls should Maxwell use for this?
A) check box
B) drop-down list box
C) radio button
D) text area
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe also would like to collect information about manufacturers of the racquets that players are using.There are 10 major racquet manufacturers.Which of the following form controls should Maxwell use for this?
A) check box
B) drop-down list box
C) radio button
D) text area
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
70
Case-Based Critical Thinking Questions
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan is trying to add a form control to his customer registration form using the tag,but he cannot make it work because it is a control that is not added that way.Kyra explains that he cannot create a ____ control with the tag.
A) text box
B) radio button
C) check box
D) text area
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan is trying to add a form control to his customer registration form using the tag,but he cannot make it work because it is a control that is not added that way.Kyra explains that he cannot create a ____ control with the tag.
A) text box
B) radio button
C) check box
D) text area
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
71
Case-Based Critical Thinking Questions
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe would like to collect the name of each player's hometown.Which of the following form controls should Maxwell use?
A) text area
B) text box
C) radio button
D) check box
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe would like to collect the name of each player's hometown.Which of the following form controls should Maxwell use?
A) text area
B) text box
C) radio button
D) check box
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
72
Case-Based Critical Thinking Questions
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan would like to limit the number of characters a user can type for his or her email address to 50,but make visible only 20 characters.Which of the following does Kyra define as a correct statement?
A)
B)
C)
D) either a or c
Case 9-2
Ethan has some questions about HTML forms that he addresses to his sister Kyra,who has a lot of experience in Web design.
Ethan would like to limit the number of characters a user can type for his or her email address to 50,but make visible only 20 characters.Which of the following does Kyra define as a correct statement?
A)
B)
C)
D) either a or c
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
73
Which of the following buttons is used to clear or reset the form fields?
A) command button
B) submit button
C) reset button
D) clear button
A) command button
B) submit button
C) reset button
D) clear button
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
74
Case-Based Critical Thinking Questions
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe would like to know who is male and who is female.Which of the following form controls should Maxwell use to gather this information?
A) check box
B) text box
C) radio button
D) all of the above
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe would like to know who is male and who is female.Which of the following form controls should Maxwell use to gather this information?
A) check box
B) text box
C) radio button
D) all of the above
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
75
Which of the following is true for the submit button?
A) The button must have the text "submit" on it.
B) The button cannot be styled.
C) The button does not require a label element.
D) The button must have an orange background.
A) The button must have the text "submit" on it.
B) The button cannot be styled.
C) The button does not require a label element.
D) The button must have an orange background.
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
76
To control the height of the text area,the ____ attribute is used.
A) height
B) size
C) cols
D) rows
A) height
B) size
C) cols
D) rows
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
77
Case-Based Critical Thinking Questions
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe asked Maxwell to give a text area a lot of room,so players can write a lot and see what they are writing.How would Maxwell code a text area that is 8 rows high and 40 characters wide?
A)
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe asked Maxwell to give a text area a lot of room,so players can write a lot and see what they are writing.How would Maxwell code a text area that is 8 rows high and 40 characters wide?
A)
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
78
The default value for the text area height is ____ rows.
A) 2
B) 3
C) 4
D) 5
A) 2
B) 3
C) 4
D) 5
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
79
Case-Based Critical Thinking Questions
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe would like Maxwell to offer players a chance to tell him something about themselves,in a longer,narrative format.Which of the following can Maxwell use to achieve this goal?
A) text box
B) text area
C) drop-down list box
D) text window
Case 9-1
At the beginning of the academic year,Maxwell was asked to create an HTML form for his tennis coach,Mr.McEnroe,so that he can collect information about the school's tennis team players.
Mr.McEnroe would like Maxwell to offer players a chance to tell him something about themselves,in a longer,narrative format.Which of the following can Maxwell use to achieve this goal?
A) text box
B) text area
C) drop-down list box
D) text window
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck
80
The default value for the text area width is ____ characters.
A) 18
B) 19
C) 20
D) 21
A) 18
B) 19
C) 20
D) 21
Unlock Deck
Unlock for access to all 149 flashcards in this deck.
Unlock Deck
k this deck