Deck 9: Forms

ملء الشاشة (f)
exit full mode
سؤال
The purpose of the __________ is to configure a label for a < fieldset >.

A) < label >
B) < p >
C) < form >
D) < legend >
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Select the attribute used to limit the width of a text box as displayed in a browser.

A) size
B) maxsize
C) limit
D) columns
سؤال
When configuring a group of radio button form controls, the value of the ______ attribute on each radio button must be the same

A) name
B) id
C) value
D) none of the above
سؤال
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 form control below that would be appropriate to accept comments about your web site.

A) select list
B) text box
C) scrolling text box
D) None of the above
سؤال
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 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="customerPhone" id="Phone" >
D) both b and c
سؤال
Select the type of form control that "disguises" the characters that are typed.

A) text
B) password
C) encrypt
D) textbox
سؤال
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
سؤال
Select the HTML tag below that configures a textbox with the name "email" and a width of 40 characters.

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" >
سؤال
Use the _____ attribute on the < form > tag 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 attribute used to limit the number of characters that a text box will accept.

A) size
B) maxlength
C) limit
D) columns
سؤال
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 the input element with type="box".
C) A select list is created using select and input elements.
D) None of the above statements are true.
سؤال
Select the tag used to visually group a number of form controls.

A) < group >
B) < fieldset >
C) < form >
D) none of the above
سؤال
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="button" value="submit" >
D) < select option="submit" >
سؤال
Select the form control below that does not use the < input > tag.

A) text box
B) select list
C) checkbox
D) radio button
سؤال
What attributes are valid for the < select > tag?

A) name, id, multiple
B) name, id, multiple, rows, cols
C) name, id, multiple, selected
D) name, id, multiple, checked
سؤال
_________________ 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) none of the above
سؤال
Select the statement below that is true about forms.

A) The < form > tag 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
سؤال
Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.

A) < input type="reset" >
B) < button type="reset" >Reset< /button >
C) < input type="button" value="Reset" >
D) both a and b
سؤال
Select the value of the type attribute that configures an HTML5 spinner control.

A) spinner
B) range
C) number
D) input
سؤال
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
سؤال
Select the value of the type attribute that configures an HTML5 slider 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.
سؤال
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
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 9: Forms
1
The purpose of the __________ is to configure a label for a < fieldset >.

A) < label >
B) < p >
C) < form >
D) < legend >
D
2
Select the attribute used to limit the width of a text box as displayed in a browser.

A) size
B) maxsize
C) limit
D) columns
A
3
When configuring a group of radio button form controls, the value of the ______ attribute on each radio button must be the same

A) name
B) id
C) value
D) none of the above
A
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
Select the form control below that would be appropriate to accept comments about your web site.

A) select list
B) text box
C) scrolling text box
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
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="customerPhone" id="Phone" >
D) both b and c
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
Select the type of form control that "disguises" the characters that are typed.

A) text
B) password
C) encrypt
D) textbox
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
Select the HTML tag below that configures a textbox with the name "email" and a width of 40 characters.

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" >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
Use the _____ attribute on the < form > tag 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
Select the attribute used to limit the number of characters that a text box will accept.

A) size
B) maxlength
C) limit
D) columns
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
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 the input element with type="box".
C) A select list is created using select and input elements.
D) None of the above statements are true.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
Select the tag used to visually group a number of form controls.

A) < group >
B) < fieldset >
C) < form >
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
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="button" value="submit" >
D) < select option="submit" >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
Select the form control below that does not use the < input > tag.

A) text box
B) select list
C) checkbox
D) radio button
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
What attributes are valid for the < select > tag?

A) name, id, multiple
B) name, id, multiple, rows, cols
C) name, id, multiple, selected
D) name, id, multiple, checked
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
_________________ 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) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
Select the statement below that is true about forms.

A) The < form > tag 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
Select the HTML tag below that configures a button that, when clicked, will automatically reset form fields to their default values.

A) < input type="reset" >
B) < button type="reset" >Reset< /button >
C) < input type="button" value="Reset" >
D) both a and b
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
Select the value of the type attribute that configures an HTML5 spinner control.

A) spinner
B) range
C) number
D) input
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
Select the value of the type attribute that configures an HTML5 slider control.

A) spinner
B) range
C) number
D) input
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.