Below is a listing of all classes in the HTML DOM Level 2 namespace. Click on a class to visit its documentation.
Class | IE | Mozilla | Netscape | Opera | Safari |
---|---|---|---|---|---|
Base interface that all views derive from.
|
6.0+ | 1.0+ | 6.0+ | 8.0+ | 1.0+ |
Represents the attributes of an Element object.
|
|||||
Represents a CDATA section in a XML/HTML document
|
no | 1.0+ | no | no | no |
Object for accessing and processing character data in the DOM.
|
no | 1.0+ | no | 7.0+ | 1.0+ |
Represents a comment in a XML/HTML document.
|
no | 1.0+ | no | 7.0+ | 1.0+ |
Represents the value of a CSS counter.
|
no | 1.0+ | no | no | 1.0+ |
Properties for CSS2 selectors.
|
no | 1.0+ | no | 7.0+ | 1.0+ |
Represents a charset rule for a CSS style sheet.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Represents a font-face rule in a CSS style sheet.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Represents an import rule in a CSS style sheet.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Represents a media rule in a CSS style sheet.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Represents a page rule in a CSS style sheet.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Single value for a CSS style.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Defines a CSS rule in a CSS style sheet.
|
6.0+ | 1.0+ | no | 9.0+ | 1.0+ |
Array of CSS rules.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
CSS style declaration block consisting of CSS attributes and their values.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
CSS style rule in a CSS style sheet.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
CSS style sheet.
|
6.0+ | 1.0+ | no | 9.0+ | 1.0+ |
CSS rule in a CSS style sheet that the browser does not recognize.
|
no | 1.0+ | no | 9.0+ | 1.0+ |
Value of a CSS style attribute.
|
no | 1.0+ | no | no | no |
Array of CSSValue objects.
|
no | 1.0+ | no | no | no |
Represents an HTML or XML document.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Represents a Document that has a CSSView.
|
no | 1.0+ | no | no | no |
Interface for creating new event types.
|
no | 1.0+ | no | no | no |
Light-weight implementation of Document.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Interface for creating a new Range.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Allows you to retrieve CSS stylesheets that are embedded in a document.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Allows you to create iterators and tree-walkers to traverse the nodes of
a Document.
|
no | 1.0+ | 2.0+ | no | 1.0+ |
Represents the <!DOCTYPE> of a document.
|
6.0+ | 1.0+ | 6.0+ | 7.0+ | no |
Provides a property to retrieve the default view for a document.
|
no | 1.0+ | no | 7.0+ | no |
Interface defining error codes for DOM-related processing exceptions.
|
6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Provides methods for performing operations that are DOM implementation
independent.
|
6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Provides a method to create a CSSStyleSheet object outside of the document.
|
no | 1.0+ | no | no | no |
Represents an element in an HTML or XML document.
|
|||||
Exposes inline style information for an element.
|
no | 1.0+ | 6.0+ | 8.0+ | no |
Represents an entity in an XML Document Type Definition (DTD).
|
no | 1.0+ | 6.0+ | no | no |
Represents an Entity Reference in a document.
|
no | 1.0+ | 6.0+ | no | no |
Provides information about an event.
|
4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
Exception or error thrown by an event.
|
no | 1.0+ | 4.0+ | 7.0+ | no |
Defines an event listener or event handler.
|
4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
Allows registration and removal of an EventListener on an EventTarget.
|
4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+ |
Anchor or hyperlink in an HTML document.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Body of an HTML document.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Collection of HTML elements.
|
no | 1.0+ | 6.0+ | 7.0+ | no |
HTML Document object.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
DOM implementation methods that are independent of a Document.
|
6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
HTMLElement is the parent class of all HTML elements.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
A Form in an HTML Document.
|
4.0+ | 1.0+ | 3.0+ | 7.0+ | 1.0+ |
Input element on an HTML Form.
|
4.0+ | 1.0+ | 3.0+ | 7.0+ | 1.0+ |
Option element on an HTML form.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Select element on an HTML form.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Caption for an HTML table.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
A td or th element in an HTML table.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
A column (col) or column group (colgroup) in an HTML table.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
A table in an HTML document.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
A table row (tr) element in an HTML table.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
A header (thead), footer (tfoot), or body section (tbody) in an HTML table.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
A textarea input element in an HTML form.
|
3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+ |
Stylesheet associated with a node in a document.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
List of associated media types in a stylesheet.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Provides information for a Mouse-related event.
|
|||||
Provides information about a mutation event.
|
no | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Collection of nodes accessible by name or position.
|
no | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Node in an HTML document tree.
|
5.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Filters the nodes of a document tree.
|
6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Iterates through a set of Document nodes.
|
no | 1.0+ | 7.0+ | no | no |
Collection of nodes accessible by index.
|
no | 1.0+ | 7.0+ | no | no |
Represents an XML Notation in a document.
|
no | 1.0+ | 7.0+ | no | no |
Represents a Processing Instruction in an XML document.
|
no | 1.0+ | 7.0+ | no | no |
Represents a range of nodes within a document.
|
no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
Range-related error.
|
no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
Represents a CSS rect (rectangle) value.
|
no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
RGB code for a CSS color value.
|
no | 1.0+ | 6.0+ | 9.0+ | 1.0+ |
Represents a stylesheet object.
|
4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Array of StyleSheet objects.
|
no | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Represents a text node in a document.
|
5.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+ |
Traverses the specified document subtree.
|
no | 1.0+ | 7.0+ | 9.0+ | no |
Object that transfers data between a web client and a remote web server.
|
7.0+ | 1.0+ | 7.0+ | no | no |
Provides contextual information associated with User Interface-related
events.
|
no | 1.0+ | 7.0+ | 7.0+ | 1.0+ |
Represents a CSS view.
|
no | 1.0+ | 7.0+ | 7.0+ | no |
Reference to the inline CSS style for the element. This is an internal
convenience object to allow access to the CSS style properties, and cannot
be instantiated directly. It will disappear in future revisions.
|