



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!




"DHTML" refers to a single technology. - correct answers.False Which of the following is the correct syntax for accessing the value of the href attribute for the third a element in a document?
The getElementsByName() method always returns an array, even if there is only one element in the document with a matching name attribute. - correct answers.True At the core of DHTML is ____.
This is a demonstration.
- document.getElementByName("p").innerHTML = "Hello World!"; - document.getElementById("demo").innerHTML = "Hello World!"; - #demo.innerHTML = "Hello World!"; - document.getElement("p").innerHTML = "Hello World!"; - correct answers.document.getElementById("demo").innerHTML = "Hello World!"; The ____ method returns an array of elements that match a specified tag name. - getElementsById() - getElementsByTagName() - getElementsByTagId() - getElementsByName() - correct answers.getElementsByTagName() The following statement finds all of the elements in the HTML document: var x = document.getElementsByTagName("p"); - correct answers.False The innerHTML property is used to get or replace the content of an HTML element. - correct answers.True Through the ____ object you can access other objects that represent elements on a Web page. - Image - Input - Element - Document - correct answers.Document The DOM is a W3C (World Wide Web Consortium) standard. - correct answers.True The following example returns a list of all elements where the id="intro" var x = document.getElementsByClassName("intro"); - correct answers.FalseWith AJAX, the JavaScript does not have to wait for the server response, but can instead execute other scripts while waiting for the server response. - correct answers.True JSON is a syntax for storing and exchanging data. It is considered a lightweight data interchange format and a subset of JavaScript. It is considered easy to use and understand and is language independent. - correct answers.True The term ____ refers to the application, usually a Web browser, which makes the request.