


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



A _____ is created using the select and option elements that present users with a group of predefined possible values for the data field. - Answers-selection list Every field set must contain the _____ element, which should have only text and no nested elements for describing its content. - Answers-legend get and post are two possible values for the _____ attribute. - Answers-method Identify a syntax that displays a selection list as a scroll box with 5 options visible in the web form. - Answers- ... Identify a widget that allows the user to interact with the form for entering numeric values confined to a specified range. - Answers-Slider control Identify an attribute that can be added to the input element to validate a text value against a regular expression. - Answers-pattern="regex" Identify the type of control that performs an action. - Answers-A form button Which of the following is true of field sets? - Answers-Field sets act like block elements that can expand to accommodate their content. In the accompanying figure, Box B points to _____. - Answers-option buttons In the accompanying figure, Box E represents a _____. - Answers-Spin box A _____ is any group of characters enclosed within either double or single quotation marks in JavaScript. - Answers-text string Identify a statement that is added to the first line of the file to run a script in strict mode.
A _____ is a named item in a program that stores a data value, such as a number or text string, or an object, such as a part of the web browser or browser window. - Answers-variable The _____ attribute can be applied to the script element to ensure that an object can be referenced within a JavaScript program that runs only after the page has completed loading. - Answers-defer _____ programming distributes the load to prevent a server from getting overloaded with program-related requests. - Answers-Client-side A user can create an embedded script by removing the _____ attribute and placing all of the JavaScript code within the script element. - Answers-src Identify the general structure for accessing each value from an array using for loop. - Answers-for (var i = 0; i < array.length; i++) { commands involving array [i] } What is the output of the following code? for (var i = 0; i <= 360; i+=60) - Answers-i = 0, 60, 120, 180, 240, 360 identify the expression used to reference array values. - Answers-array [i] Identify the general structure of a for loop. - Answers-for (start; continue; update) { commands } Identify the structure of an if statement. - Answers-if (condition) { commands } Which of the following determines the current size of an array? - Answers-array.length Which of the following examples tests whether x is equal to 5 or y is equal to 8? - Answers-(x === 5) II (y === 8) Identify a method that is used to create a subarray - Answers-slice() Which of the following statements is used to terminate any program loop or conditional statement? - Answers-break For array data that should be treated as a queue, the _________ method is used, which is similar to the pop() method except that it removes the first array item and not the last.