
Specifies the Unicode key code associated with the key that caused the event. This property is intended to be used with the onkeydown, onkeyup, and onkeypress events.
object.keyCode[ = keyCode]
This read-write property can be set to a Unicode key code. It is zero if no key caused the event.
Specifies the language to use. The specifier is an ISO standard language abbreviation.
object.lang[ = lang]
The parser can use this property to determine how to display language-specific choices for quotations, numbers, and so on.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
A, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, I, IFRAME, IMG, INPUT, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XMP
Specifies the language that the current script is written in. JScript is the default for this attribute.
object.language
This read-only property can refer to any scripting language. Internet Explorer 4.0 ships with a JScript (JavaScript-compatible) and VBScript scripting engine. Keywords for accessing these scripting languages include the following:
javascript Specifies that the script is written in JavaScript. Jscript Specifies the language as JavaScript. vbs Specifies the language as VBScript. vbscript Specifies that the script is written in VBScript.
A, ACRONYM, ADDRESS, APPLET, AREA, B, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HR, I, IFRAME, IMG, INPUT, INS, KBD, LABEL, LEGEND, LI, LISTING, MAP, MARQUEE, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
Contains the last-modified date of the page (if the page supplies one).
object.lastModified
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets or retrieves the CSS left attribute of the element.
object.left[ = left]
The value of this read-write property is a string consisting of a floating-point number and a units designator, as described for cascading style sheets.
For more information on how to access the dimension and location of elements on the page through the document object model, see Measuring Element Dimension and Location.
Specifies the left margin for the entire body of the page and overrides the default margin.
object.leftMargin[ = leftMargin]
This read-write property is a string. If set to "", the left margin will be exactly on the left edge.
Returns the number of elements in a collection. The window.length property returns the number of frames contained in a window.
object.length
This property is read-write on the areas and options collections and <SELECT> object, specifically for image maps and select boxes, respectively. This allows you to change the length of the collection as necessary.
In all other cases, this property has read-only permission, meaning you can retrieve its current value, but not change it.
all, anchors, applets, areas, embeds, forms, frames, history, images, imports, links, plugins, scripts, SELECT, styleSheets, window
options collection
Returns the CSS letter-spacing attribute, which specifies letter spacing for the element.
object.letterSpacing[ = letterSpacing]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the CSS line-height attribute, which specifies line height, the distance between the baselines of subsequent lines of text. A negative line height is allowed to achieve various shadowing effects.
object.lineHeight[ = lineHeight]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the color of the document links. The color can be one of the color names or values given in Color Table.
object.link[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
body
Returns the color of the document links. The color can be one of the color names or values given in Color Table.
object.linkColor[ = color]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS list-style attribute, which specifies type, image, and position defined by the list style for the element.
object.listStyle[ = listStyle]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS list-style-image attribute, which specifies the image defined by the list style for the element.
object.listStyleImage[ = listStyleImage]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS list-style-position attribute, which specifies the position value of the list style for the element.
object.listStylePosition[ = listStylePosition]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS list-style-type attribute, which specifies the type value of the list style for the element.
object.listStyleType[ = listStyleType]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns information on the current URL. The href property contains the entire URL, and the other properties contain portions of it. The full list of properties includes hash, host, hostname, href, pathname, port, protocol, and search.
object.location[ = location]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies how many times a sound or video will loop when activated. If applied to a marquee, it specifies how many times the content of the marquee should loop. If n=-1 or infinite, it will loop continuously.
object.loop[ = loop]
Following are descriptions on how loop works for some boundary cases.
<BGSOUND src="file:///c:\win95\system\msremind.wav"> once <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP> once <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=> zero times <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=-1> infinitely <BGSOUND src="file:///c:\win95\system\msremind.wav" LOOP=0> once This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies a lower resolution image to display.
object.lowsrc[ = lowsrc]
Setting the src attribute in code has the side effect of actually starting to load the new URL into the image area (and aborting the transfer of any image data that is already loading into the same area). Therefore, if you're going to alter the lowsrc property, you need to do so before setting the src property. If the URL in the src property references an image that is not the same size as the image cell it is loaded into, the source image is scaled to fit.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Sets or returns the element representing the image map.
object.map[ = map]
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS margin attribute, which specifies the width and height of the left, right, top, and bottom margins for the element.
object.margin
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Returns the CSS margin-bottom attribute, which specifies the height of the bottom margin for the element.
object.marginBottom
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets the top and bottom margins to the appropriate height before displaying the text in a frame.
object.marginHeight[ = marginHeight]
The value for the margin height is in pixels. Margins cannot be less than 1 nor so large that the text cannot be displayed.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns the CSS margin-left attribute, which specifies the width of the left margin for the element.
object.marginLeft
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Returns the CSS margin-right attribute, which specifies the width of the right margin for the element.
object.marginRight
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Returns the CSS margin-top attribute, which specifies the height of the top margin for the element.
object.marginTop
This property has read-only permission, meaning you can retrieve its current value, but not change it.
Sets the amount the left and right margin should be set to before displaying the text in a frame.
object.marginWidth[ = marginWidth]
The value for margin width is in pixels. Margins cannot be less than 1 nor so large that the text cannot be displayed.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Indicates the maximum number of characters that can be entered into a text control. This limits the user entry, not programmatic assignments to the value property.
object.maxLength[ = maxLength]
This value can be larger than the size of the text box. When this occurs, the text box should scroll accordingly as the user types. The default is no limit.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
object.media[ = media]
Parameter Description MEDIA Designed for rendering on these media. Default value is ALL. SCREEN - Output is intended for nonpaged computer screens. PRINT - Output is intended for paged, opaque material and for documents on screen viewed in print preview mode. ALL - Applies to all devices.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Indicates how the form data should be sent to the servereither as GET or POST, which are the only legal values.
object.method[ = method]
Possible values include;
get Append the arguments to the action URL and open it as if it were an anchor. post Send the data through an HTTP post transaction.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies information about the functions that the user can perform on an object.
object.Methods[ = Methods]
These methods are more accurately given by the HTTP protocol when it is used, but it might, for reasons similar as for the title property, be useful to include the information in advance in the link. The HTML user agent can chose a different rendering as a function of the methods allowed; for example, something that is searchable might get a different icon.
The value of the property is a comma-separated list of HTTP methods supported by the object for public use.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Returns an empty collection for Internet Explorer 4.0. This property exists for compatibility with other browsers.
object.mimeTypes
This property has read-only permission.
Indicates that multiple items in the list can be selected.
object.multiple[ = multiple]
The default value for this property is FALSE.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies the name of a window or the frame so it can be targeted from links in other documents.
object.name[ = name]
This read-write property takes either a window name or frame name, or one of these special values:
window_name A string that specifies a frame. _blank Loads the link into a new, unnamed window. _parent Loads the link over the parent. If the frame has no parent, this refers to _self. _self Replaces the page with the specified link. _top Loads the link at the topmost level. The name property on the window comes from the FRAME definition. There is no other way to persist a window name in HTML.
Specifies the name of the control, bookmark, or application.
object.name[ = name]
The name is used to bind the value of the control when submitting a form. The name is not the value that is displayed for the button, reset, and submit objects. Submitting the form submits the internally stored value, not the one displayed.
JScript allows the name to be changed at run time. This does not cause the name in the programming model to change in the collection of elements, but does change the name used for submitting elements.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
A, APPLET, BUTTON, FORM, IMG, INPUT, LINK, MAP, META, OBJECT, SELECT, TEXTAREA
Indicates that clicks in this region should cause no action.
object.noHref[ = noHref]
The default value for this property is FALSE.
This property has read-write permissions, meaning you can change as well as retrieve its current value.
Specifies whether the user can resize the frame.
object.noResize[ = noResize]
This read-write property takes a Boolean value:
TRUE Frame size is fixed. User cannot resize it. FALSE Frame is resizable. This is the default value for the property. By default, all frames are resizable.
Draws the horizontal rule without 3-D shading.
object.noShade[ = noShade]
The default value for this property is FALSE.
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.