Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Frame/IFrame longDesc property

Frame/IFrame longDesc property

Frame/IFrame Object Reference Frame/IFrame Object


Definition and Usage

The longDesc property can set or return the value of the longDesc attribute of the frame/iframe element.

The longdesc attribute specifies a URL that describes the frame content.

**Note:** This property 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 property


Example

Example

Return the value of the longdesc property:

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

Try it »


Frame/IFrame Object Reference Frame/IFrame Object