# HTML DOM Level 2 Index

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
--- | --- | --- | --- | --- | ---
AbstractView Base interface that all views derive from. | 6.0+ | 1.0+ | 6.0+ | 8.0+ | 1.0+
Attr Represents the attributes of an Element object.
CDATASection Represents a CDATA section in a XML/HTML document | no | 1.0+ | no | no | no
CharacterData Object for accessing and processing character data in the DOM. | no | 1.0+ | no | 7.0+ | 1.0+
Comment Represents a comment in a XML/HTML document. | no | 1.0+ | no | 7.0+ | 1.0+
Counter Represents the value of a CSS counter. | no | 1.0+ | no | no | 1.0+
CSS2Properties Properties for CSS2 selectors. | no | 1.0+ | no | 7.0+ | 1.0+
CSSCharsetRule Represents a charset rule for a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+
CSSFontFaceRule Represents a font-face rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+
CSSImportRule Represents an import rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+
CSSMediaRule Represents a media rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+
CSSPageRule Represents a page rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+
CSSPrimitiveValue Single value for a CSS style. | no | 1.0+ | no | 9.0+ | 1.0+
CSSRule Defines a CSS rule in a CSS style sheet. | 6.0+ | 1.0+ | no | 9.0+ | 1.0+
CSSRuleList Array of CSS rules. | no | 1.0+ | no | 9.0+ | 1.0+
CSSStyleDeclaration CSS style declaration block consisting of CSS attributes and their values. | no | 1.0+ | no | 9.0+ | 1.0+
CSSStyleRule CSS style rule in a CSS style sheet. | no | 1.0+ | no | 9.0+ | 1.0+
CSSStyleSheet CSS style sheet. | 6.0+ | 1.0+ | no | 9.0+ | 1.0+
CSSUnknownRule CSS rule in a CSS style sheet that the browser does not recognize. | no | 1.0+ | no | 9.0+ | 1.0+
CSSValue Value of a CSS style attribute. | no | 1.0+ | no | no | no
CSSValueList Array of CSSValue objects. | no | 1.0+ | no | no | no
Document Represents an HTML or XML document. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
DocumentCSS Represents a Document that has a CSSView. | no | 1.0+ | no | no | no
DocumentEvent Interface for creating new event types. | no | 1.0+ | no | no | no
DocumentFragment Light-weight implementation of Document. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
DocumentRange Interface for creating a new Range. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
DocumentStyle Allows you to retrieve CSS stylesheets that are embedded in a document. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
DocumentTraversal Allows you to create iterators and tree-walkers to traverse the nodes of a Document. | no | 1.0+ | 2.0+ | no | 1.0+
DocumentType Represents the <!DOCTYPE> of a document. | 6.0+ | 1.0+ | 6.0+ | 7.0+ | no
DocumentView Provides a property to retrieve the default view for a document. | no | 1.0+ | no | 7.0+ | no
DOMException Interface defining error codes for DOM-related processing exceptions. | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
DOMImplementation Provides methods for performing operations that are DOM implementation independent. | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
DOMImplementationCSS Provides a method to create a CSSStyleSheet object outside of the document. | no | 1.0+ | no | no | no
Element Represents an element in an HTML or XML document.
ElementCSSInlineStyle Exposes inline style information for an element. | no | 1.0+ | 6.0+ | 8.0+ | no
Entity Represents an entity in an XML Document Type Definition (DTD). | no | 1.0+ | 6.0+ | no | no
EntityReference Represents an Entity Reference in a document. | no | 1.0+ | 6.0+ | no | no
Event Provides information about an event. | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+
EventException Exception or error thrown by an event. | no | 1.0+ | 4.0+ | 7.0+ | no
EventListener Defines an event listener or event handler. | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+
EventTarget Allows registration and removal of an EventListener on an EventTarget. | 4.0+ | 1.0+ | 4.0+ | 7.0+ | 1.0+
HTMLAnchorElement Anchor or hyperlink in an HTML document. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
HTMLBodyElement Body of an HTML document. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
HTMLCollection Collection of HTML elements. | no | 1.0+ | 6.0+ | 7.0+ | no
HTMLDocument HTML Document object. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
HTMLDOMImplementation DOM implementation methods that are independent of a Document. | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLElement HTMLElement is the parent class of all HTML elements. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
HTMLFormElement A Form in an HTML Document. | 4.0+ | 1.0+ | 3.0+ | 7.0+ | 1.0+
HTMLInputElement Input element on an HTML Form. | 4.0+ | 1.0+ | 3.0+ | 7.0+ | 1.0+
HTMLOptionElement Option element on an HTML form. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
HTMLSelectElement Select element on an HTML form. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
HTMLTableCaptionElement Caption for an HTML table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLTableCellElement A td or th element in an HTML table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLTableColElement A column (col) or column group (colgroup) in an HTML table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLTableElement A table in an HTML document. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLTableRowElement A table row (tr) element in an HTML table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLTableSectionElement A header (thead), footer (tfoot), or body section (tbody) in an HTML table. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
HTMLTextAreaElement A textarea input element in an HTML form. | 3.0+ | 1.0+ | 2.0+ | 7.0+ | 1.0+
LinkStyle Stylesheet associated with a node in a document. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
MediaList List of associated media types in a stylesheet. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
MouseEvent Provides information for a Mouse-related event.
MutationEvent Provides information about a mutation event. | no | 1.0+ | 6.0+ | 7.0+ | 1.0+
NamedNodeMap Collection of nodes accessible by name or position. | no | 1.0+ | 6.0+ | 7.0+ | 1.0+
Node Node in an HTML document tree. | 5.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
NodeFilter Filters the nodes of a document tree. | 6.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
NodeIterator Iterates through a set of Document nodes. | no | 1.0+ | 7.0+ | no | no
NodeList Collection of nodes accessible by index. | no | 1.0+ | 7.0+ | no | no
Notation Represents an XML Notation in a document. | no | 1.0+ | 7.0+ | no | no
ProcessingInstruction Represents a Processing Instruction in an XML document. | no | 1.0+ | 7.0+ | no | no
Range Represents a range of nodes within a document. | no | 1.0+ | 6.0+ | 9.0+ | 1.0+
RangeException Range-related error. | no | 1.0+ | 6.0+ | 9.0+ | 1.0+
Rect Represents a CSS rect (rectangle) value. | no | 1.0+ | 6.0+ | 9.0+ | 1.0+
RGBColor RGB code for a CSS color value. | no | 1.0+ | 6.0+ | 9.0+ | 1.0+
StyleSheet Represents a stylesheet object. | 4.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
StyleSheetList Array of StyleSheet objects. | no | 1.0+ | 6.0+ | 7.0+ | 1.0+
Text Represents a text node in a document. | 5.0+ | 1.0+ | 6.0+ | 7.0+ | 1.0+
TreeWalker Traverses the specified document subtree. | no | 1.0+ | 7.0+ | 9.0+ | no
XMLHttpRequest Object that transfers data between a web client and a remote web server. | 7.0+ | 1.0+ | 7.0+ | no | no
UIEvent Provides contextual information associated with User Interface-related events. | no | 1.0+ | 7.0+ | 7.0+ | 1.0+
ViewCSS Represents a CSS view. | no | 1.0+ | 7.0+ | 7.0+ | no
HTMLStyleObject 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.