Deck 10: Form Basics

ملء الشاشة (f)
exit full mode
سؤال
Select the true statement from the choices below.

A) A scrolling text box is created using an input element with type="textarea".
B) A text box is created using an input element with type="box".
C) A select list is created using select and input elements.
D) A scrolling text box is created using a textarea element.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Select the form control below that would be most appropriate to accept free-form comments about your website.

A) select list
B) text box
C) scrolling text box
D) None of the above
سؤال
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.

A) Phone: < input type="textbox" name="customerPhone" >
B) < label >Phone: < input type="text" name="customerPhone" >< /label >
C) < label for="Phone" >Phone: < /label >< input type="text" name="Phone" id="customerPhone" >
D) < label >Phone:< /label > < input type="text" name="customerPhone" >
سؤال
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.

A) < textarea name="feedback" width="60" rows="3" >< /textarea >
B) < input type="textarea" name="feedback" size="60" rows="3" >
C) < textarea name="feedback" rows="3" cols="60" >< /textarea >
D) none of the above
سؤال
Select the statement below that is true about forms.

A) The form element is optional
B) It is recommended to use mailto: as the action on a form since that is the easiest for the web developer
C) A form can be used to pass information to a program or script on the web server
D) none of the above is true
سؤال
When configuring a radio button form control, the value of the ______ of each radio button must be the same

A) name
B) id
C) value
D) none of the above
سؤال
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.

A) check box
B) radio button
C) text box
D) scrolling text box
سؤال
Use the _____ attribute on the form element to specify the name and location of the script that will process the form control values.

A) action
B) process
C) method
D) none of the above
سؤال
Select the HTML code to configure a button that, when clicked, will automatically reset form fields to their default values.

A) < input type="reset" >
B) < input type="submit" value="Reset" >
C) < reset >
D) < form action="reset" >
سؤال
Select the attribute used to configure the width of a text box as displayed in a browser.

A) size
B) maxsize
C) limit
D) columns
سؤال
Select the element used to visually group a number of form controls.

A) group
B) fieldset
C) form
D) label
سؤال
The purpose of the __________ element is to configure a label for a fieldset element.

A) label
B) p
C) form
D) legend
سؤال
_________________ 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.

A) fieldset
B) Common Gateway Interface
C) JavaScript
D) MIME
سؤال
Select the HTML tag below that configures a textbox named "email" that is 40 characters wide.

A) < input type="text" id="email" width="40" >
B) < input type="text" name="email" size="40" >
C) < input type="text" name="email" space="40" >
D) < input type="text" width="40" >
سؤال
Select the attribute used to limit the number of characters that a text box will accept.

A) size
B) maxlength
C) limit
D) columns
سؤال
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.

A) check box
B) radio button
C) text box
D) select list
سؤال
Select the form control below that does not use the input element.

A) text box
B) select list
C) checkbox
D) radio button
سؤال
Select the type of form control that "disguises" the characters that are typed.

A) text box
B) password box
C) encrypt box
D) hidden box
سؤال
Select the form control from the choices below that may be used to submit a form/

A) < input type="submit" >
B) < submit >< /submit >
C) < input type="form" value="submit" >
D) < select option="submit" >
سؤال
What attributes are valid for the select element?

A) name, id, multiple
B) name, id, multiple, rows, cols
C) name, id, multiple, selected
D) name, id, multiple, checked
سؤال
Select the value of the type attribute that configures an HTML5 slider control.

A) spinner
B) range
C) number
D) input
سؤال
The HTML5 _____________ form control provides the user with a selection of choices along with an option to enter information.

A) select list
B) check box
C) datalist
D) slider
سؤال
Select the value of the type attribute that configures an HTML5 spinner control.

A) spinner
B) range
C) number
D) input
سؤال
Select the true statement from those listed below.

A) The input element with type="email" will cause all browsers to edit for a valid e-mail address.
B) The required attribute will cause all browsers to verify that the user has entered information into the form control.
C) The input element with type="date" will cause all browsers to display a calendar control
D) The input element with type="email" will cause browsers that do not support the attribute to display a text box.
سؤال
Choose the attribute selector below that will target submit buttons.

A) input[type="submit"]
B) submit
C) submit[input]
D) input.submit
سؤال
Choose the item below that is not a valid value for the input element's type attribute.

A) radio
B) url
C) e-mail
D) text
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/26
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 10: Form Basics
1
Select the true statement from the choices below.

A) A scrolling text box is created using an input element with type="textarea".
B) A text box is created using an input element with type="box".
C) A select list is created using select and input elements.
D) A scrolling text box is created using a textarea element.
D
2
Select the form control below that would be most appropriate to accept free-form comments about your website.

A) select list
B) text box
C) scrolling text box
D) None of the above
C
3
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.

A) Phone: < input type="textbox" name="customerPhone" >
B) < label >Phone: < input type="text" name="customerPhone" >< /label >
C) < label for="Phone" >Phone: < /label >< input type="text" name="Phone" id="customerPhone" >
D) < label >Phone:< /label > < input type="text" name="customerPhone" >
B
4
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.

A) < textarea name="feedback" width="60" rows="3" >< /textarea >
B) < input type="textarea" name="feedback" size="60" rows="3" >
C) < textarea name="feedback" rows="3" cols="60" >< /textarea >
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
5
Select the statement below that is true about forms.

A) The form element is optional
B) It is recommended to use mailto: as the action on a form since that is the easiest for the web developer
C) A form can be used to pass information to a program or script on the web server
D) none of the above is true
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
6
When configuring a radio button form control, the value of the ______ of each radio button must be the same

A) name
B) id
C) value
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
7
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.

A) check box
B) radio button
C) text box
D) scrolling text box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
8
Use the _____ attribute on the form element to specify the name and location of the script that will process the form control values.

A) action
B) process
C) method
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
9
Select the HTML code to configure a button that, when clicked, will automatically reset form fields to their default values.

A) < input type="reset" >
B) < input type="submit" value="Reset" >
C) < reset >
D) < form action="reset" >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
10
Select the attribute used to configure the width of a text box as displayed in a browser.

A) size
B) maxsize
C) limit
D) columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
11
Select the element used to visually group a number of form controls.

A) group
B) fieldset
C) form
D) label
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
12
The purpose of the __________ element is to configure a label for a fieldset element.

A) label
B) p
C) form
D) legend
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
13
_________________ 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.

A) fieldset
B) Common Gateway Interface
C) JavaScript
D) MIME
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
14
Select the HTML tag below that configures a textbox named "email" that is 40 characters wide.

A) < input type="text" id="email" width="40" >
B) < input type="text" name="email" size="40" >
C) < input type="text" name="email" space="40" >
D) < input type="text" width="40" >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
15
Select the attribute used to limit the number of characters that a text box will accept.

A) size
B) maxlength
C) limit
D) columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
16
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.

A) check box
B) radio button
C) text box
D) select list
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
17
Select the form control below that does not use the input element.

A) text box
B) select list
C) checkbox
D) radio button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
18
Select the type of form control that "disguises" the characters that are typed.

A) text box
B) password box
C) encrypt box
D) hidden box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
19
Select the form control from the choices below that may be used to submit a form/

A) < input type="submit" >
B) < submit >< /submit >
C) < input type="form" value="submit" >
D) < select option="submit" >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
20
What attributes are valid for the select element?

A) name, id, multiple
B) name, id, multiple, rows, cols
C) name, id, multiple, selected
D) name, id, multiple, checked
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
21
Select the value of the type attribute that configures an HTML5 slider control.

A) spinner
B) range
C) number
D) input
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
22
The HTML5 _____________ form control provides the user with a selection of choices along with an option to enter information.

A) select list
B) check box
C) datalist
D) slider
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
23
Select the value of the type attribute that configures an HTML5 spinner control.

A) spinner
B) range
C) number
D) input
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
24
Select the true statement from those listed below.

A) The input element with type="email" will cause all browsers to edit for a valid e-mail address.
B) The required attribute will cause all browsers to verify that the user has entered information into the form control.
C) The input element with type="date" will cause all browsers to display a calendar control
D) The input element with type="email" will cause browsers that do not support the attribute to display a text box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
25
Choose the attribute selector below that will target submit buttons.

A) input[type="submit"]
B) submit
C) submit[input]
D) input.submit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
26
Choose the item below that is not a valid value for the input element's type attribute.

A) radio
B) url
C) e-mail
D) text
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 26 في هذه المجموعة.