Upgrade to remove ads
Terms in this set (29)
T/F: The top-level object in the browser object model is the Window object, which represents a web browser window.
T/F: The getElementBySelector() method returns a collection of elements matching a specified selector.
False (querySelectorAll() method)
T/F: Internet Explorer 8 does not support the textContent property.
True (IE8 uses innerHTML)
T/F: A node attached with the appendChild() method is always added as the last child element of the parent element.
When you open a new web browser window, you can customize its appearance using the ___ argument of the window.open() method.
In order to make a window the active window, you use the ____ method of the Window object.
The ____ method is used to cancel a setTimeout() method before its code executes.
The ____ method repeatedly executes the same code after being called only once.
The ____ method is used to clear a setInterval() method call.
The History object contains a single property, the ____ property, which contains the specific number of documents that have been opened during the current browser session.
The ____ object is used to obtain information about the current web browser.
Which method does NOT return a node list or HTML collection?
Which method returns all h1 elements in a document?
Which method returns all elements in a document that match the selector "p figure img"?
querySelectorAll("p figure img")
Which is the correct way to reference the href attribute of the element with the id value homeLink?
Which results in a node that exists independently of the DOM tree?
Which method adds a node to a parent node before one or more existing child nodes?
The DOM hierarchy is known as ___.
The DOM tree
Which method returns the element created by the HTML tag pair <p id="?weekend" class="first"></p>?
Which method returns a single element?
A set of connected nodes that are not part of a document is known as a(n) ____.?
The ____ object represents a web browser window.
The Document object branch of the browser object model is represented by its own object model called the ______.
Document Object Model (DOM)
One way of referring to the Window object is by using the ______ property, which refers to the current Window object.
For security reasons, you should use the _______ property when possible instead of the innerHTML property.
Each item in the DOM tree is know as a ______.
THIS SET IS OFTEN IN FOLDERS WITH...
YOU MIGHT ALSO LIKE...
JS Chapter 5
Chapter 5 Working with the Document Object Model (…
ITP-140 Unit 2 Test Set 2
OTHER SETS BY THIS CREATOR
Chapter 3 PFE
Chapter 2 PFE
OTHER QUIZLET SETS
CSE 381 Final
Designing a Web Page