Module 4
larger
A table with a width set to 600 pixels will look _______ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768
rows and columns
An HTML table is comprised of ____ and ______.
select list
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.
<textarea name="feedback" rows="3" cols="60"></textarea>
Choose the HTML tag below that would configure a scrolling text box with the name "feedback", 3 rows, and 60 characters.
yes
Choose the best answer below to the following question: Is the following CSS code valid? table { border: 2px #000000 solid;border-spacing: 0; }
Choose the item below that is not a valid value for the input element's type attribute.
Use tables to organize tabular information
Choose the recommended use of tables on web pages
no, there is a missing closing td tag
Is the following HTML code valid?<table> <tr> <td>cell 1</td ><td>cell 2</tr> </tr> </table>
<label>Phone: <input type="text" name="customerPhone"></label>
Select the HTML below that would associate a label displaying the text "Phone" with the text box named customerPhone.
<input type="reset">
Select the HTML code to configure a button that, when clicked, will automatically reset form fields to their default values.
<input type="text" name="email" size="40" >
Select the HTML tag below that configures a textbox named "email" that is 40 characters wide.
size
Select the attribute used to configure the width of a text box as displayed in a browser.
maxlength
Select the attribute used to limit the number of characters that a text box will accept.
form
Select the element used to visually group a number of form controls.
select list
Select the form control below that does not use the input element.
scrolling text box
Select the form control below that would be most appropriate to accept free-form comments about your website.
<input type="submit">
Select the form control from the choices below that may be used to submit a form/
password box
Select the type of form control that "disguises" the characters that are typed.
range
Select the value of the type attribute that configures an HTML5 slider control.
number
Select the value of the type attribute that configures an HTML5 spinner control.
T
T/F A form can be used to pass information to a program or script on the web server
T
T/F A scrolling text box is created using a textarea element.
T
T/F The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
T
T/F The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
T
T/F The input element with type="email" will cause browsers that do not support the attribute to display a text box.
datalist
The HTML5 _____________ form control provides the user with a selection of choices along with an option to enter information.
caption
The purpose of the _______ element is to describe the contents of a table.
legend
The purpose of the __________ element is to configure a label for a fieldset element.
border-spacing: 0;
To eliminate the space between table cells, use the ___________ property.
padding
Use the CSS ______ property to configure the cellpadding of a table.
th
Use the ____ element to configure a table heading cell.
action
Use the _____ attribute on the form element to specify the name and location of the script that will process the form control values.
tr
Use the _____ element to contain a table row.
headers
Use the ______ attribute on a td element to associate it with a table heading cell.
border
Use the ______ attribute to configure the browser to render default table and table cell borders.
td
Use the ______ element to contain a table data cell.
table
Use the ______ element to contain an HTML table.
tfoot
Use the ________ element to configure a table footer row group.
thead
Use the ________ element to configure a table head row group.
heading
Use the th element to indicate a table column or row _____.
name, id, multiple, selected
What attributes are valid for the select element?
name
When configuring a radio button form control, the value of the ______ of each radio button must be the same
text-align
Which of the following CSS3 properties configure the alignment of text within a table?
caption-side
Which of the following CSS3 properties position the caption of a table?
:last-of-type
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?
:nth-of-type(n)
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?
check box
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.
Common Gateway Interface
_________________ 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.