Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
Syntax
| HTML | <ELEMENT LONGDESC
= sDesc... >
|
|---|
| Scripting | [ sDesc = ] object.longDesc [ = v ] |
|---|
Possible Values
| sDesc | String that
specifies or receives the URI. |
The property is read/write.
The property has no default value.
DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are not supported in IE8 mode. For more information, see About Dynamic Properties.
Remarks
The long description supplements the shorter description specified by the alt attribute.
Internet Explorer 8 or later. In IE8 mode, the value of the longDesc attribute for the frame, iframe, and img elements depends on the context of the reference to the attribute. When read as a Document Object Model (DOM) attribute, longDesc returns an absolute URL. The value specified by the page author is returned when longDesc is read as a content attribute, when the page is displayed in an earlier document compatibility mode, or when the page is viewed with an earlier version of the browser. For more information, see Attribute Differences in Internet Explorer 8.
The alt attribute is no longer displayed as the image tooltip for pages displayed in IE8 mode. The target of the longDesc attribute is now displayed as the tooltip, if present; otherwise, the title is displayed. However, the alt attribute is displayed as the Microsoft Active Accessibility (MSAA) tooltip. If this attribute is not present, the title attribute is displayed instead. For more information, see Accessibility section in What's New in Internet Explorer 8.
longDesc was introduced in Microsoft Internet Explorer 6.
Standards Information
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1
.
Applies To