Chapter 5 Working with the Document Object Model (DOM) and DHTML

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

setTimeout()

a method of the Window object that is used to execute code once after a specific amount of time has elapsed.

setInterval()

a method of the Window object that repeatedly executes the same code after being called only once.

document fragment

a set of connected nodes that are not part of a document.

application programming interface

a specification of how different software components can interact with each other.

global object

a term for the Window object, based on the fact that all other objects in the browser object model are contained within it.

HTML collection

an indexed collection of HTML elements.

node list

an indexed collection of nodes.

self property

another way of referring to the window object

node

each item in the DOM tree.

DOM tree

the DOM hierarchy for a web page.

Location object

the child object of the Window object that allows you to change to a new web page from within JavaScript code.

Navigator object

the child object of the Window object that is used to obtain information about the current browser.

History object

the child object of the Window object that maintains an internal list of all the documents that have been opened during the current web browser session.

Screen object

the child object of the window object that is used to obtain information about the display screen's size, resolution, and color depth.

dynamic HTML

the combination of HTML and CSS with JavaScript, which enables interactivity on the modern web (DHTML).

history list

the internal list maintained by the History object of all the documents that have been opened during the current web browser session.

querySelectorAll()

the method of the Document object that returns a collection of elements matching a specified CSS selector.

getElementsByClassName()

the method of the Document object that returns a collection of elements with a class attribute that matches a specified value.

getElementsByName()

the method of the Document object that returns a collection of elements with a name attribute that matches a specified value.

querySelector()

the method of the Document object that returns the first occurrence of an element matching a specified CSS selector.

clearInterval()

the method of the Widow object that's used to clear a setInterval() method call.

open()

the method of the Window object that you can use to create window or tab with JavaScript.

clearTimeout()

the method of the Window object that's used to cancel a setTimeout() method before its code executes.

close()

the method of the Window object that's used to close a web browser window.

focus()

the method of the Window object that's used to make a window the active window.

browser object model

the model that describes the relationship between objects within the web browser, including within the current document. (BOM)

tag name

the name of an element.

Document Object Model

the object model that represents the Document object branch of the browser object model (DOM).

textContent

the property of a web page element that you use to access and change just the text that an element contains; unlike the innerHTML property, __________ strips out any HTML tags.

Window object

the top-level object in the browser object model, which represents a web browser window.


Ensembles d'études connexes

CISCO NetAcad CCNA 1 Chapter 10 Exam

View Set

Scholarly Publication end of course quiz

View Set

NURS 2207- Oncology Evolve EAQ (Graded)

View Set

General Chemistry II: Chapter 18: Thermodynamics

View Set

Chapter 10 - Real Estate License Law / Rules and Regulations

View Set