Java Reference
In-Depth Information
Method Name
Description
Introduced
getElementsByName(name)
Returns an
HTMLCollection
of elements with
the specifi ed
name
attribute value.
Level 1
open()
Opens a document for writing.
Level 1
write()
Writes a string of text to the document.
Level 1
writeln()
Writes a string of text to the document followed
by a newline.
Level 1
HTML Element Objects
HTML element attributes are exposed as properties of the various HTML element objects. Their data
type is determined by the attribute's type in the HTML 4.0 specifi cation.
Other than HTMLElement, all HTML element objects are described here in alphabetical order. The fol-
lowing pages do not contain a complete list of HTML element object types. Instead, only the following
element object types are listed:
❑
HTMLAnchorElement
❑
HTMLBodyElement
❑
HTMLButtonElement
❑
HTMLDivElement
❑
HTMLFormElement
❑
HTMLFrameElement
❑
HTMLFrameSetElement
❑
HTMLIFrameElement
❑
HTMLImageElement
❑
HTMLInputElement
❑
HTMLOptionElement
❑
HTMLParagraphElement
❑
HTMLSelectElement
❑
HTMLTableCellElement
❑
HTMLTableElement
❑
HTMLTableRowElement
❑
HTMLTableSectionElement
❑
HTMLTextAreaElement