IST 226 2
In the accompanying figure, what does Box A represent?
Input box
_____ is a single cell that occupies more than one cell row and/or column.
Spanning cell
Which of the following determines the current size of an array?
array.length
The check box control is created using the _____ element.
input
Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web form.
<select size="5"> ... </select>
Which of the following HTML structures arranges text in multiple rows and columns?
<table>
Identify the correct hierarchy of tags to create a web table.
<table>, <tr>, <td> </td>, </tr>, </table>
Which of the following HTML elements is used to create header cells in a web table?
<th>
Which of the following is true of row groups that are defined in an HTML table?
A table can contain only one thead and tfoot element but can have numerous tbody elements.
Identify the first step to create a responsive web table that relies only on CSS.
Add a text of data labels as attributes of all of the td elements in the table body.
Identify a list which when applied to an input box, the values appear as a pop-up list of suggested values.
Data list
Which of the following is true of field sets?
Field sets act like block elements that can expand to accommodate their content.
Which of the following is true of nesting a control within a label?Which of the following is true of nesting a control within a label?
It allows the user to move both the label text and the control as a single unit around the page.
Identify the significance of "text" in <form id="text">.
It identifies the form.
What is the purpose of colspan in <td colspan="7"> ?
It sets each cell to span seven columns within its row.
Identify a true statement of a JavaScript program in a web form.
JavaScript intercepts the content of the form before the browser attempts to contact the CGI script and report whether the data contained in the survey form has been correctly filled out or not.
_____ are text strings that appear within a form control, providing a hint about the kind of data that should be entered into the field.
Placeholders
Identify a widget that allows the user to interact with the form for entering numeric values confined to a specified range.
Slider control
A _____ is a control used to enter text strings that may include several lines of content.
Text area box
Identify a true statement to determine the number of columns in a web table.
The number of columns is the number of cells within the table rows.
Consider the following code.<colgroup><col span="2" class="Frstcols"/><col id="Lastcol"/><colgroup> How many columns does the <colgroup> element create?
Three
A table contains five columns where one of the cells in a row spans three columns. Identify the number of table cells that will exist in that row.
Three
The appearance of a command, submit, and reset button is determined by the browser.
True
The post method is the default method that tells the browser to append the form data to the end of the URL specified in the action attribute.
True
The style rule border-spacing: 10px; specifies that all borders within a table should be separated by a distance of 10 pixels.
True
Which of the following is true of class in the table tag <table class=" "> ?
class is an attribute.
The _____ attribute is added to a <td> element to create a cell that spreads across several cells vertically.
colspan
Identify a property that is used to separate one column from the next using graphic dividing line.
column-rule
Which of the following properties prevents the spanning of content across all the columns?
column-span: none;
A form contains _____, also called widgets, which are the objects that allow the user to interact with the form.
controls
Grouping dozens of different fields into a _________ that a web form can have, makes the form easier to interpret and more accessible.
field set
Identify a method that extracts array items that match a specified condition.
filter()
_________ refers to the state in which an element has been clicked by the user, making it the active control on the form.
focus
What is the output of the following code? for(var i = 5; i > 0; i--)
i = 5, 4, 3, 2, 1
Identify a pseudo-class for a check box or option button whose toggle states cannot be ascertained.
indeterminate
By default, browsers display input boxes as _____ elements with a default length of 20 characters.
inline
The _____ element is used to mark the form controls that are designed to receive user responses.
input
Identify the cross-browser style sheet that changes the text color of the placeholder text for every input box to light red for the moz extension.
input:-moz-placeholder {color: rgb (255, 151, 151);}
To associate a text string entered above each input element with a control, the text string should be enclosed within the _____ element.
label
Every field set must contain the _____ element, which should have only text and no nested elements for describing its content.
legend
You want to ensure that the text box should accept only 5 characters for entering a zip code. Which attribute of a text box will allow you to do this?
maxlength
get and post are two possible values for the _____ attribute.
method
Identify an attribute that can be added to the input element to validate a text value against a regular expression.
method="text"
You want to insert abbreviations of spring months into the monthName array. Which of the following methods should you use?
monthName.splice(2, 3, "Mar", "Apr", "May");
The _________ attribute is always needed in an input element while submitting the form to a server.
name
Identify the element that can organize selection list options by placing them in option groups in long selection lists.
optgroup
In the accompanying figure, Box B points to _____.
option buttons
A _________ is a set of commands executed repeatedly until a stopping condition is met.
program Loop
A _____, which employs the first-in-first-out (FIFO) principle in which the first item added to the data list is the first removed, is similar to a stack.
queue
Identify a data type applied in an input element to create slider controls.
range
The _____ attribute must be added to the control to identify whether the data has been supplied to those fields that are opposed to the ones that are optional.
required
HTML supports the _____ attributes to set the text area size.
rows and cols
The _________ element is an HTML element used to access and run JavaScript programs that will run within the user's browser.
script
A(n) _____ is created using the select and option elements that present users with a group of predefined possible values for the data field.
selection list
By default, a _________ appears as a drop-down list box.
selection list
The process of validation that takes place on the web user is called _________ validation.
server-side
A check box can be selected automatically by adding the _________ attribute to the input element.
type
If no _____ value is specified, the browser assumes a default value of text and adds a simple text input box to the web form.
type
The process of ensuring that the user has supplied correct data is called _____ .
validation
Most mobile and tablet devices do not have physical keyboards; instead, they use _________ that exist as software representations of the physical device.
virtual keyboards
Identify the type of control that performs an action.
A form button
A data entry control is associated with a _____ in which data values supplied by the user are stored.
data field
The technique of immediate data validation and reporting of errors is known as _____.
inline validation
Data cells that do not function as headers for table rows or columns are marked using the _____ element.
td
Identify a syntax of the option element that contains an attribute to make an option as default in a selection list.
<option value="value" selected>text</option>
Which of the following is a default value for border-collapse property?
border-collapse: separate;
Command buttons are created using the input element with the type attribute set to _____.
button
The ____ element is used to create a custom option.
button
Which of the following HTML elements is used to create a table title?
<caption>
The columns within the colgroup element are identified by the _____ element.
<colspan="value"/>
Identify a syntax used to create a spinner control using an input element.
<input name="name" id="id" type="number" value="value" set="value" min="value" max="value" />
Identify a syntax that sets the data type of the registerDate field to "date".
<label for="register">Date of registration</label> <input name="registerDate" id="register" type="date" />
A _________ operator is an operator that compares the value of one expression to another returning a Boolean value indicating whether the comparison is true or not.
assignment
When creating row groups, the table _________ group appears after the table footer group to allow browsers to render the footer before receiving numerous groups of table body rows.
body
In the given figure, the items marked Box A and Box B are the _____ respectively.
data cells and column cells
When a cell _________ multiple rows or columns, it pushes other cells to the right or down in a table.
spans
In the accompanying figure, Box E represents a _____.
spin box
A _____ is used to restrict numeric values by displaying an up or down arrow to increase or decrease the field value by a set amount.
spinner control
The _________ property value of fixed tells the browser to ignore cell content when reducing the width of the table columns.
table-layout
When a style for a table element is created by setting the font color to red, _____.
the caption text will be displayed in the same color as the previous table
In the given figure, Box A refers to _____.
the second cell in rows two and three that spans seven columns
Identify a true statement of array .find(callback [, thisArg]) method.
It returns the value of the first element in the array that passes a test in the callback function.
_____ are like selection lists in which they limit fields to a set of possible values; but, unlike selection lists, the options appear as separate controls in the web form.
Radio buttons
Identify the widget that limits a numeric field to a range of possible values by allowing users to drag a marker horizontally across the possible field values.
Slider control