Deck 10: Creating and Processing Web Forms
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
Match between columns
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/71
العب
ملء الشاشة (f)
Deck 10: Creating and Processing Web Forms
1
Although older browsers don't recognize email or other modern type values, all browsers default to a value of blank if no other recognized value is specified. _________________________
False
2
Each input element in a set of option buttons must include the name attribute with a value different than other members of the set.
False
3
You can add the selected attribute to an option element in order to make it selected by default. _________________________
True
4
When you want users to be able to select one or more predefined choices independent of each other, a(n) check box usually makes the most sense._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
5
Form elements in which users enter or select data are known as fields or labels ._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
6
Each option element defines a single menu option for a drop-down menu ._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
7
A form needs to include a(n) upload button, which is a button that users can click to submit the data they've entered. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
8
If your web form includes a single field into which users entered their first and last names, you can easily sort the resulting information by last name.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
9
User agents group the name attribute of each field with the value entered or selected by a user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
10
Labels and fields don't usually require styling to optimize usability.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
11
The action attribute is added to the opening form tag to specify the name and location of a script that will accept the form data. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
12
Like a table, a web page form contains a series of columns and column headings.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
13
For a field with the type value number , some modern browsers flag or reject non-numerical input.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
14
When using a drop-down menu, once a user clicks an option to select it, the list is hidden and the selected value is displayed in the text box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
15
Users provide most information in a form through input elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
16
For a field with the value email for the type attribute, touchscreen devices may display buttons such as an @ key._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
17
Specifying the value text for the type attribute creates a generic text box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
18
The value submitted for a check box is the text entered by a user in the box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
19
You use the choice element to create a drop-down menu, with option elements nested within it to specify the list items._________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
20
You customize the size of a text box with the CSS length property. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
21
The ____ element marks a single entry in a drop-down list.
A) input
B) option
C) select
D) label
A) input
B) option
C) select
D) label
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
22
The type value ____ for the input element may cause modern browsers to style input to match styling of search boxes in other parts of the user interface.
A) find
B) input
C) select
D) search
A) find
B) input
C) select
D) search
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
23
A check box should always ____ its label text for optimal usability.
A) follow
B) precede
C) be separated by 2 spaces from
D) be separated by 1 space from
A) follow
B) precede
C) be separated by 2 spaces from
D) be separated by 1 space from
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
24
To make the significance of each field clear to users, it's important to associate each field with a(n) ____, which is an element containing descriptive text that is associated with a field.
A) attribute
B) record
C) button
D) label
A) attribute
B) record
C) button
D) label
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
25
The type value ____ for the input element may cause touchscreen devices to display keyboards with -, *, and # keys.
A) url
B) password
C) telephone
D) tel
A) url
B) password
C) telephone
D) tel
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
26
The ____ attribute approximates how many characters should fit across the box.
A) box
B) cols
C) font
D) chars
A) box
B) cols
C) font
D) chars
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
27
You can further increase the usability of your form by adding a descriptive title to each fieldset. Such a title is known as a ____.
A) label
B) title
C) legend
D) callout
A) label
B) title
C) legend
D) callout
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
28
____ are displayed on web pages as boxes to check, boxes in which to enter text, or lists of options.
A) Fields
B) Records
C) Cells
D) Buttons
A) Fields
B) Records
C) Cells
D) Buttons
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
29
The ____ attribute specifies how many rows of input are visible.
A) rows
B) visible
C) input
D) show
A) rows
B) visible
C) input
D) show
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
30
By default, most browsers surround the fields in a fieldset with ____, creating a visual cue that the fields share a common subject.
A) a circle
B) a box
C) a gray shadow
D) a black shadow
A) a circle
B) a box
C) a gray shadow
D) a black shadow
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which of the following is a component of a form?
A) check box
B) cell
C) figure
D) list item
A) check box
B) cell
C) figure
D) list item
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
32
The ____ element marks a set of entries to display as a drop-down list.
A) input
B) option
C) select
D) label
A) input
B) option
C) select
D) label
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
33
The type value ____ for the input element may cause modern browsers to validate entries to ensure that they are valid web addresses.
A) web
B) addr
C) www
D) url
A) web
B) addr
C) www
D) url
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
34
The type value ____ for the input element causes most browsers to display text entered by users as bullets or asterisks rather than showing the actual characters.
A) password
B) hide
C) secure
D) username
A) password
B) hide
C) secure
D) username
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
35
An option button is also known as a(n) ____ button and is best suited for prompting users to select only one item from a group.
A) select
B) bullet
C) radio
D) toggle
A) select
B) bullet
C) radio
D) toggle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
36
A __________ allows users to enter multiple lines of text.
A) text area
B) text box
C) label
D) fieldset
A) text area
B) text box
C) label
D) fieldset
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
37
The type value ____ for the input element may cause modern browsers to validate that entries are valid email addresses.
A) check
B) mail
C) email
D) scan
A) check
B) mail
C) email
D) scan
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
38
You can use the __________ attribute to populate text boxes with instructions in modern browsers.
A) placeholder
B) instructions
C) text
D) tip
A) placeholder
B) instructions
C) text
D) tip
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
39
In most forms, groups of fields form logical units. In a web page form, these groups are known as ____.
A) valuesets
B) valuegroups
C) fieldsets
D) fieldgroups
A) valuesets
B) valuegroups
C) fieldsets
D) fieldgroups
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____ element marks a multiline area where users can enter text.
A) input
B) inputarea
C) text
D) textarea
A) input
B) inputarea
C) text
D) textarea
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
41

A) chosen
B) checked
C) marked
D) button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
42

A) input
B) textarea
C) fieldset
D) field
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
43
Case-Based Critical Thinking Question Brendan is debugging the website for a cooking and baking supply store. The site includes a web form that customers can complete to request hard to find items.
Brendan notices that the last question of the form allows users to write their comments, but uses a field created with the input element. To allow users to enter text that spans multiple lines, he replaces the field with the __________ element.
A) select
B) fieldset
C) label
D) textarea
Brendan notices that the last question of the form allows users to write their comments, but uses a field created with the input element. To allow users to enter text that spans multiple lines, he replaces the field with the __________ element.
A) select
B) fieldset
C) label
D) textarea
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
44

A) name
B) legend
C) label
D) value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
45

A) select
B) option
C) input
D) textarea
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
46
You create a submit button using an image with the value __________ for the type attribute.
A) button
B) image
C) reset
D) submit
A) button
B) image
C) reset
D) submit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
47
Browsers display a drop-down menu as a small text box with a(n) ____ next to it.
A) square
B) diamond
C) circle
D) arrowhead
A) square
B) diamond
C) circle
D) arrowhead
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
48

A) input
B) label
C) fieldset
D) legend
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
49
An input element with a type value of ____ creates a generic button that can be programmed using a script.
A) generic
B) button
C) script
D) input
A) generic
B) button
C) script
D) input
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
50
Case-Based Critical Thinking Question Brendan is debugging the website for a cooking and baking supply store. The site includes a web form that customers can complete to request hard to find items.
Brendan's debugging also reveals that the form is missing the closing tag for the element that encloses all of the elements in the form, which is __________.
A) form
B) fieldset
C) input
D) select
Brendan's debugging also reveals that the form is missing the closing tag for the element that encloses all of the elements in the form, which is __________.
A) form
B) fieldset
C) input
D) select
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
51
A(n) ___________ element with a type value of submit is used to create a submit button.
A) form
B) button
C) input
D) fieldset
A) form
B) button
C) input
D) fieldset
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
52

A) text
B) radio
C) checkbox
D) button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
53

A) select
B) option
C) input
D) textarea
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
54
Case-Based Critical Thinking Question Sophia has a website that promotes her hairstyling business. She wants to expand her new customer contact form with a few additional questions.
Sophia wants to include a single set of buttons asking about how often the client prefers to have their hair done. To ensure that clients select only one box in the set, she should use __________.
A) check boxes
B) option buttons
C) either a or b
D) neither a nor b
Sophia wants to include a single set of buttons asking about how often the client prefers to have their hair done. To ensure that clients select only one box in the set, she should use __________.
A) check boxes
B) option buttons
C) either a or b
D) neither a nor b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
55

A) name
B) legend
C) label
D) value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
56

A) input
B) textarea
C) select
D) option
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
57
Case-Based Critical Thinking Question Sophia has a website that promotes her hairstyling business. She wants to expand her new customer contact form with a few additional questions.
Sophia wants to include a single set of buttons asking about different aspects of the client's hair, including length, color, and curl. To allow clients to select more than one box in the set, she should use __________.
A) check boxes
B) option buttons
C) either a or b
D) neither a nor b
Sophia wants to include a single set of buttons asking about different aspects of the client's hair, including length, color, and curl. To allow clients to select more than one box in the set, she should use __________.
A) check boxes
B) option buttons
C) either a or b
D) neither a nor b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
58

A) label
B) legend
C) input
D) h3
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
59
Case-Based Critical Thinking Question Brendan is debugging the website for a cooking and baking supply store. The site includes a web form that customers can complete to request hard to find items.
Brendan recognizes that the HTML for the form is missing the element to indicate a single entry in a drop-down list, which is ____.
A) input
B) select
C) label
D) option
Brendan recognizes that the HTML for the form is missing the element to indicate a single entry in a drop-down list, which is ____.
A) input
B) select
C) label
D) option
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
60
The __________ button is not used by some designers because a user can confuse it with a submit button and inadvertently lose all input.
A) clear
B) reset
C) image
D) undo
A) clear
B) reset
C) image
D) undo
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
61
List and describe 3 kinds of form fields that you can create with the input element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
62
Touchscreen devices with on-screen keyboards may display customized buttons for certain values of the type attribute for the __________ element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
63
A(n) ________________ is a box that users can click to add or remove a check mark, enabling users to select or deselect it.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
64
What attribute must the form element contain to enable form submission? What attribute must all elements within the form contain? How are the values of these attributes used in form submission?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
65
Match between columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
66
"Control" is another term for a(n) __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
67
A group of fields that forms a logical unit is known as a(n) __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
68
Describe the difference between a text box and a text area, and explain when you would use each one.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
69
Each element in a set of option buttons must include the __________ attribute with a value identical to all other members of the set.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
70
You can create different kinds of fields with the input element by specifying different values for the __________ attribute.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck
71
A descriptive title for a fieldset is known as a(n) __________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 71 في هذه المجموعة.
فتح الحزمة
k this deck