This interface represents an element in an HTML document. It inherits the DOMNode interface.
A DOMElement node can have the following child nodes, in any number and order:
These objects correspond to the HTML constructs that you typically find inside an element: sub-elements, text, comments, processing instructions, and entity references.
Consider the following example:
<H2>Sales Forecast, <EM>Grummots</EM>® </H2>
The DOMElement object for the <H2> element contains the following child nodes:
Copyright © SoftQuad Software Inc. 1999