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

HTML DOM Image longDesc property

Image longDesc property

Image Object Reference Image Object


Definition and Usage

The longDesc property sets or returns the value of the longDesc attribute of an image.

The longdesc attribute specifies the URL of the document that contains the description of the image.

Syntax

imageObject.longDesc=

URL


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the longDesc property


Example

Example

Return the value of the longDesc attribute of the image:

Runoob Tutorial(runoob.com) Computerman

The value of the longdesc attribute is:

Try it »


Image Object Reference Image Object