All Implemented Interfaces:
Document
HTMLDocument
is the root of the HTML hierarchy andholds the
entire content. Beside providing access to the hierarchy, italso provides
some convenience methods for accessing certain sets ofinformation from the
document.
The following properties have been deprecated in favor of the corresponding ones for the BODY element:alinkColorbackgroundbgColorfgColor linkColorvlinkColor
Method from org.w3c.dom.html.HTMLDocument Summary: |
---|
close, getAnchors, getApplets, getBody, getCookie, getDomain, getElementById, 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
backwardscompatibility, the returned set of anchors only contains those
anchors created with the name attribute, not those created
with the id attribute. |
OBJECT elements that includeapplets
and APPLET (deprecated) elements ina document. |
BODY contents, returns the BODY element, and in
frameset documents, this returns the outermostFRAMESET
element. |
name=value;expires=date . |
|
id is given by elementId. If no
such element exists, returns null . Behavior is not defined
if more than one element has this id . |
name
value is given by elementName . |
|
IMG elements in a document.The
behavior is limited to IMG elements forbackwards
compatibility. |
AREA elements andanchor (A )
elements in a documentwith 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 structuremodel. |
open() . The text is parsed into the
document's structure model. |