Frame/IFrame longDescProperty

Frame/IFrame 对象参考手册Frame/IFrame Object

Definition and Usage

The longDesc property sets or returns the value of the longDesc attribute in a frame/iframe element.

The longdesc attribute specifies a URL to a description of the frame content.

Note:This attribute can be used for browsers that do not support frames.

Syntax

frameObject.longDesc=URL

or

iframeObject.longDesc=URL


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the longDesc attribute.


Example

Example

Return the value of the longdesc attribute:

document.write(document.getElementById("myframe").longDesc);

Try it Yourself »


Frame/IFrame 对象参考手册Frame/IFrame Object Other Extensions