HTML and CSS Reference
In-Depth Information
JavaScript Element
Description
size
The size (height) of the rule in pixels
width
The width of the rule in pixels
htmlƒ
Corresponds to the html element in the document
Properties
version
The DTD version for the document
iframe
An inline frame element in the document
Properties
align
The alignment of the object, for example, “right”
allowTransparency
A Boolean specifying whether the background of the frame can be transparent
border
The width of the border around the frame
contentDocument
The document that corresponds to the content of this frame
contentWindow
The window that corresponds to this frame
frameBorder
A string of “0” (no border) or “1” (show border)
height
The height of the frame in pixels
longdesc
The URL of a long description for the frame
marginHeight
The vertical margins in pixels
marginWidth
The horizontal margins in pixels
name
The name of the frame
sandbox
A mirror of the HTML5 sandbox
seamless
A mirror of the HTML seamless attribute
src
The source of the frame content
srcdoc
The source document of the frame content
width
The width of the frame in pixels
Image
An image object from an inline image in the document or created using one of
the following constructors:
new Image()
new Image( width , height )
where width and height define the dimensions of the image
Properties
align
The alignment of the object, for example, “left”, “right”, or “center”
alt
A string containing alternative text for the image
border
The width of the image border in pixels
complete
A Boolean value indicating whether the image has been completely loaded by
the browser
height
The height of the image in pixels
hspace
The horizontal space around the image in pixels
isMap
A Boolean indicating whether the image is a server-sid image map
longDesc
The URL for a more detailed description of the image
loop
An integer indicating how many times the image is to loop when activated
lowSrc
A URL for a lower-resolution image to display
lowsrc
The value of the lowsrc property of the img element
name
The name of the image
nameProp
The name of the file given in the src attribute of the img tag
naturalHeight
The intrinsic height of the image
Search WWH ::




Custom Search