HTML
The longdesc attribute
Example
Using the longdesc attribute to point to a page with a long description of the image:
<img src="logo.png" alt="runoob.com" width="336" height="69" longdesc="w3s.txt">Try it »
Browser support





Almost no major browser supports the longdesc attribute.
Definition and Usage
HTML5 does not support The longdesc attribute.
The longdesc attribute specifies the URL of a page containing a long description of the image.
**Tip:** Since browser support for the longdesc attribute is very poor, there is no need to use it. To provide a long description for an image (if necessary), simply create a link to the description page (a link that is visible to everyone).
Syntax
Attribute values
| Value | Description |
|---|---|
| URL | The URL of the page describing the image.
Possible values: |
HTML tag