Java Reference
In-Depth Information
C
W3C DOM Reference
Because JavaScript is primarily used to program the browser and add behavior to web pages,
it's only natural to include a reference to the W3C DOM.
The following pages list the objects made available by the W3C DOM.
DOM COre ObjeCts
This section describes and lists objects defined by the DOM standards—starting with the
lowest level of DOM objects. All objects are in alphabetical order.
Low‐Level DOM Objects
The DOM specification describes the
Node
,
NodeList
, and
NamedNodeMap
objects. These
are the lowest‐level objects in the DOM, and are the primary building blocks of higher‐level
objects.
Node
Defined in DOM Level 1, the
Node
object is the primary data type for the entire DOM. All
objects in the DOM inherit from
Node
. There are 12 different types of
Node
objects; each
type has an associated integer value. The following tables list the
Node
object's type values,
properties, and methods.