WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMHTMLDocument

IID:a6cf9084-15b3-11d2-932e-00805f8add32
Inherits From:nsIDOMDocument
Status:FROZEN

The nsIDOMHTMLDocument interface is the interface to a [X]HTML document object.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-HTML/


Properties

readonly nsIDOMHTMLCollection anchors

readonly nsIDOMHTMLCollection applets

nsIDOMHTMLElement body

DOMString cookie

readonly DOMString domain

readonly nsIDOMHTMLCollection forms

readonly nsIDOMHTMLCollection images

readonly nsIDOMHTMLCollection links

readonly DOMString referrer

DOMString title

readonly DOMString URL


Methods

void close ( ) nsIDOMNodeList getElementsByName ( DOMString elementName ) [noscript] void open ( ) [noscript] void write ( DOMString text ) [noscript] void writeln ( DOMString text )

void close ( )


nsIDOMNodeList getElementsByName ( DOMString elementName )

Arguments:
elementName

void open ( )


void write ( DOMString text )

Arguments:
text

void writeln ( DOMString text )

Arguments:
text

References

This interface is the type of the following properties:

fuelIBrowserTab.document

Reference documentation is generated from Mozilla's source.