Note: The DOM Level 2 HTML module is not backward compatible with the DOM Level 1 HTML module.
Document support for the feature "XML" as
well as "HTML".HTMLDocumentgetElementById is now inherited from
the Document interface [DOM Level 2 Core] where it was
moved.HTMLFrameElementcontentDocument was added.HTMLIFrameElementcontentDocument was added.HTMLInputElementtype is no longer read only.size was changed from
DOMString to unsigned long.HTMLObjectElementcontentDocument was added.form was removed.HTMLOptionElementdefaultSelected attribute does not
reset the state of the form control.HTMLTextAreaElementdefaultValue attribute does not reset
the contents of the form control.HTMLImageElementlowSrc attribute was removed.border,
height, hspace, width and
vspace were changed from DOMString to
long.HTMLSelectElementoptions was changed from
HTMLCollection to
HTMLOptionsCollection.length is no longer readonly.html2.org.w3c.dom.html2.HTMLDOMImplementationHTMLDOMImplementation interface was added to
the HTML module.HTMLOptionsCollectionHTMLOptionsCollection
interface was added to the HTML module.