WorksheetsSDA Lesson 6
Total questions: 10
Worksheet time: 5mins
Which of the following should you use to specify the width in characters of a scrolling text box?
The size attribute
The cols attribute
The maxlength attribute
The width attribute
What happens if you omit the size attribute when you use the <select> tag to create a select list?
No items will appear in the list.
No more than four items will appear in the list.
The number of items that will appear in the list by default will depend on the browser.
The scrolling list box will appear as a blank box with an "X" in it.
In a raw text string, which of the following is used to delimit name=value pairs?
Plus signs ( + )
Pipe symbols ( | )
Ampersands ( & )
Quotation marks ( " " )
Which of the following actions will upload user data from a Web form to the receiving server?
Processing the form
Submitting the form
Storing the form
Resetting the form
Radio buttons are reserved for two or more mutually exclusive options on a Web form. How do you ensure this exclusivity?
The radio buttons must share the same name attribute.
The radio buttons must share the same checked attribute.
The radio buttons must share the same type attribute.
The radio buttons must share the same value attribute.
Consider the following HTML code:
<input type="file" name="File"/>
What does this code create on a Web form?
A Browse button so users can select and upload files to your site
A text box so users can specify files they want to find on your site
A Send File button so users can select and upload files to your site
A Find File button so users can specify files they want to download from your site
When you submit a Web form, the browser sends the information entered in this form to the Web server as:
a raw text string.
a client-side script.
a server-side script.
hexadecimal code.
Which choice correctly specifies the attribute and value needed in an <input> tag for a group of radio buttons to designate a preselected option?
The checked="yes" attribute and value
The checked="select" attribute and value
The checked="checked" attribute and value
The checked="on" attribute and value
When creating Web forms, you use the <input> tag to:
create text boxes, checkboxes, radio buttons, and the Submit and Reset buttons.
create form fields into which the user can enter multiple lines of text.
create single-option and multiple-option lists from which the user can choose items.
create a form into which you can input various form fields.
You are creating a select list for your Web form. You want to allow users to choose more than one response from your list. Which attribute and value should you add to the <select> tag to allow this?
value="multiple"
type="multiple"
multiple="multiple"
multiple="yes"
