longDesc attribute (frame, iframe, img)
Specifies the URI (Uniform Resource Identifier) of the long description of a frame, iframe or img element.
The longDesc attribute of an element contains a link to a file describing the object in detail, for those times when the object cannot be downloaded or displayed.
String that sets the Uniform Resource Identifier. If the value is an URL, then it can be an absolute or relative path as well. Relative paths are relative to the base URL. The base URL is the location of the current document, but it can be overridden by the base tag.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the longDesc attribute:
Did you find this example helpful?
Supported by tags:
User Contributed Comments