HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
UTC()
Milliseconds since December 31, 18:00:00, using UTC
UTC( date )
Returns date in the form of the number of milliseconds since December 31, 1969, at
18:00:00 for Universal Coordinated Time
valueOf()
Converts a date to millisecond representation
divƒ
A div element in the document
Properties
align
The alignment of the element
documentƒ
An HTML document (child of Window )
Properties
activeElement
The document element that currently has the focus
alinkColor
The color of active hypertext links in the document
all
An array of each of the HTML tags in the document
anchors
An array of the anchors in the document
applets
An array of the applets in the document
attributes
A collection of attributes for the element
bgColor
The background color of the document
body
Reference to the body element object of the document
charset
A string containing the character set of the document
characterSet
A string containing the character set of the document
childNodes
A collection of child nodes of the object
compatMode
The compatibility mode of the document, where BackCompat indicates Quirks
mode and CSS1Compat indicates Strict mode
cookie
A text string containing the document's cookie values
defaultCharset
The browser's default character set
defaultView
The browser window in which this document is displayed
designMode
A Boolean sp ecifying whether design mode is on or off
doctype
A reference to the DocumentType object for the document
documentElement
A reference to the root node of the document object hierarchy
documentMode
The document mode used by the browser, where 5 indicates Quirks mode and
other numbers indicate the IE version number in Standards mode
(IE only)
domain
The domain of the document
embeds
An array of the embedded objects in the document
fgColor
The text color used in the document
firstChild
A reference to the first child node of the element, if one exists
form
A form within the document (the form itself is also an object)
forms
An array of the forms in the document
images
An array of all inline images in the document
implementation
An object with method hasFeature ( feature, level ) that returns a Boolean indicating
if the browser supports the feature given in the string feature at the DOM level
passed in the string level
lastChild
A reference to the last child node of the element, if one exists
lastModified
The date the document was last modified
linkColor
The color of hypertext links in the document
links
An array of the links within the document
localName
A string indicating the “local” XML name for the object
Search WWH ::




Custom Search