
Specifies an accelerator key that can be applied to several elements, listed below. The ALT key plus a specified access key allows you to set the focus on a particular page.
object.accessKey[ = accessKey]
Parameter Description accessKey Any valid keyboard key.
The following example uses a combination of the LABEL element and the access key property to set focus on a text box.
<label for="fp1" accesskey="1">#<u>1</u>: Press Alt+1 to set focus to textbox</label> <input type="text" name="T1" value=text1 size="20" tabindex="1" id="fp1">This property has read-write permissions, meaning you can change as well as retrieve its current value.
A, APPLET, BODY, BUTTON, DIV, EMBED, FIELDSET, IFRAME, IMG, INPUT, LABEL, MARQUEE, OBJECT, SELECT, TABLE, TEXTAREA
Specifies the address to be used to carry out the action of the form. If none is specified, the base URL of the document is used.
object.action[ = action]
The way the data is submitted depends upon the value of the method and encoding properties.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Identifies the element that has the focus.
This read-only property is set when you select a control in the interface or use the focus method.
object.activeElement
Specifies how the element is aligned with adjacent text.
object.align[ = "string"]
The value of this read-write property can be one of these strings:
absbottom Aligns the bottom of the element with the absolute bottom of the surrounding text. The absolute bottom is equal to the baseline of the text minus the height of the largest descender in the text. absmiddle Aligns the middle of the element with the middle of the surrounding text. The absolute middle is the midpoint between the absolute bottom and texttop of the surrounding text. baseline Aligns the bottom of the element with the baseline of the surrounding text. bottom Aligns the bottom of the element with the bottom of the surrounding text. The bottom is equal to the baseline minus the standard height of a descender in the text. left Aligns the element to the left of the surrounding text. All preceding and subsequent text flows to the right of the element. This is the default value. middle Aligns the middle of the element with the surrounding text. right Aligns the element to the right of the surrounding text. All subsequent text flows to the left of the element. texttop Aligns the top of the element with the absolute top of the surrounding text. The absolute top is the baseline plus the height of the largest ascender in the text. top Aligns the top of the element with the top of the text. The top of the text is the baseline plus the standard height of an ascender in the text. For the INPUT element, this attribute applies only to the image type. It is undefined for all other types.
Specifies the alignment of the caption or legend.
object.align[ = align]
This read-write property can be set to one of these string values:
bottom Align bottom-center. center Center the caption. left Left align. right Right align. top Align top-center.
Difference between a LEGEND tag and a CAPTION tag:
The LEGEND tag is used only within a FIELDSET tag. The contents of the LEGEND tag are displayed by cutting a hole in the top border of the FIELDSET and placing the LEGEND text in that hole.
The CAPTION tag is used only within a TABLE tag. Its contents are displayed centered above the table and do not interact at all with the table border.
Specifies how the table should be aligned.
object.align[ = align]
This read-write property can be set to one of these string values:
center Align to the center. left Align to the left edge. This is the default value. right Align to the right edge.
Displays the element left flush, right flush, or centered relative to the display or table.
object.align[ = align]
This read-write property can be set to one of these string values:
center Align to the center. left Align to the left edge. right Align to the right edge. The default is left-aligned for TR and TD. The default is center-aligned for TH.
COL, COLGROUP, DIV, H1, H2, H3, H4, H5, H6, HR, P, TBODY, TD, TFOOT, TH, THEAD, TR
Sets the color for the active link. The color can be one of the color names or values given in Color Table.
object.aLink[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
body
Sets the color for the active link. The color can be one of the color names or values given in Color Table.
object.alinkColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Indicates optional text as an alternative to the graphic for rendering in nongraphical environments. Alternate text should be provided whenever the graphic is not rendered.
object.alt[ = alt]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Indicates an optional HTML script to execute if the OBJECT fails to load.
object.altHTML
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the state of the ALT key.
object.altKey
This read-only property is TRUE if the key is down, or FALSE otherwise.
Indicates a string that returns the code name of the browser.
object.appCodeName
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Returns the application's minor version value. Internet Explorer 4.0 returns zero.
object.appMinorVersion
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Indicates a string that specifies the name of the browser.
object.appName
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Indicates a string that returns the version of the browser.
object.appVersion
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Returns the height of the working area of the system's screen, in pixels, excluding the toolbar.
object.availHeight
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Returns the width of the working area of the system's screen, in pixels, excluding the toolbar.
object.availWidth
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets or returns the CSS background attribute.
object.background[ = background]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies a background picture. The picture is tiled behind the text and graphics on the page.
object.background[ = background]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies a background picture for the table. The picture is tiled behind the text and graphics in the table, table head, or table cell.
object.background[ = background]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets or returns the CSS background-attachment attribute. If a background image has been specified, the value of scroll determines if it should be fixed with regard to the canvas or if it should scroll along with the content.
object.backgroundAttachment[ = scroll]
Possible values include:
fixed scroll
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the CSS background-color attribute.
object.backgroundColor[ = backgroundColor]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the CSS background-image attribute. The URL identifies the image file.
object.backgroundImage[ = URL]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the CSS background-position attribute for the background image.
object.backgroundPosition[ = backgroundPosition]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the x-coordinate of the CSS background-position attribute.
object.backgroundPositionX[ = backgroundPositionX]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the y-coordinate of the CSS background-position attribute.
object.backgroundPositionY[ = backgroundPositionY]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS background-repeat attribute for the background image, if any. The value specifies whether and how the image is repeated.
object.backgroundRepeat[ = repeat]
Possible values include:
no-repeat repeat-y repeat-x repeat
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the balance value of the background sound. The value determines how the available volume is divided between the left and right speakers.
object.balance
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Specifies how the text scrolls in the marquee.
object.behavior[ = behavior]
Possible values include:
alternate The marquee alternates left and right. scroll The marquee is a scrolling marquee in the direction specified by the direction property. The text scrolls off the end and starts over. slide The marquee is a scrolling marquee in the direction specified by the direction attribute. The text scrolls to the end and stops.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets the background color behind the element. The color can be one of the color names or values given in Color Table.
object.bgColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets the background color of the page. The color can be one of the color names or values given in Color Table.
object.bgColor[ = color]
JScript supports the entire set of valid property colors both as strings and their numerical equivalents as a string. JScript always returns the property as the numerical equivalent as a string regardless of the format the value was set to.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets or retrieves the properties for the background picture. For example, specifies whether the picture is a fixed watermark or scrolls with the page.
object.bgProperties[ = bgProperties]
This read-write property is a string. If set to "fixed", the background picture is fixed and does not scroll with the page. If set to an empty string (""), the background picture scrolls.
Sets or retrieves the CSS border attribute, which specifies the type of border to display around the element.
object.border[ = border]
This read-write property takes a string specifying the border.
Defines the space between the frames, including the 3-D border.
object.border[ = border]
The border can be set only on an outermost FRAMESET tag. Setting a border for an inner FRAMESET is ignored, even if a border is not defined on the outermost FRAMESET.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the thickness of a border to be drawn around the element.
object.border[ = border]
Setting a border to zero or omitting the attribute causes no border to be displayed. Supplying the border attribute without a value defaults to a single border.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
borderColor, borderColorDark, borderColorLight, hspace, vspace
Returns the CSS border-bottom attribute, which specifies the color, style, and width of the bottom border.
object.borderBottom[ = borderBottom]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS border-bottom-color attribute, which specifies the color of the bottom border. The color can be one of the color names or values given in Color Table.
object.borderBottomColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS border-bottom-style attribute, which specifies the style of the bottom border.
object.borderBottomStyle[ = borderBottomStyle]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS border-bottom-width attribute, which specifies the width of the bottom border.
object.borderBottomWidth[ = borderBottomWidth]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets or retrieves the CSS border-color attribute, which specifies the border color. The color can be one of the color names or values given in Color Table.
object.borderColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets or retrieves the border color and must be used with the border property, except for frames. The color can be one of the color names or values given in Color Table.
object.borderColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorLight, and must be used with the border property. The color can be one of the color names or values given in Color Table.
object.borderColorDark[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets independent border color control over one of the two colors used to draw a 3-D border, opposite of borderColorDark, and must be used with the border property. The color can be one of the color names or values given in Color Table.
object.borderColorLight[ = borderColorLight]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS border-left attribute, which specifies the color, style, and width of the left border.
object.borderLeft[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS border-left-color attribute, which specifies the color of the left border. The color can be one of the color names or values given in Color Table.
object.borderLeftColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.