All Implemented Interfaces:
Document
HTMLDocument is the root of the HTML hierarchy and holds
the entire content. Besides providing access to the hierarchy, it also
provides some convenience methods for accessing certain sets of
information from the document.
The following properties have been deprecated in favor of the
corresponding ones for the BODY element: alinkColor background
bgColor fgColor linkColor vlinkColor In DOM Level 2, the method
getElementById is inherited from the Document
interface where it was moved.
See also the Document Object Model (DOM) Level 2 Specification.
| Method from org.w3c.dom.html.HTMLDocument Summary: |
|---|
| close, getAnchors, getApplets, getBody, getCookie, getDomain, getElementsByName, getForms, getImages, getLinks, getReferrer, getTitle, getURL, open, setBody, setCookie, setTitle, write, writeln |
| Method from org.w3c.dom.html.HTMLDocument Detail: |
|---|
open() and forces
rendering. |
A ) elements in a document
with a value for the name attribute. Note. For reasons
of backwards compatibility, the returned set of anchors only contains
those anchors created with the name attribute, not those
created with the id attribute. |
OBJECT elements that include
applets and APPLET ( deprecated ) elements in a document. |
BODY contents, returns the BODY
element. In frameset documents, this returns the outermost
FRAMESET element. |
name=value;expires=date . |
null if the server cannot be identified by a domain name. |
name value is given by elementName . |
|
IMG elements in a document. The
behavior is limited to IMG elements for backwards
compatibility. |
AREA elements and anchor (
A ) elements in a document with a value for the
href attribute. |
|
TITLE element
in the head of the document. |
|
Open a document stream for writing. If a document exists in the target, this method clears it. |
|
|
|
open() . The text is parsed into the document's structure
model. |
open() . The text is parsed into the
document's structure model. |