THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

HTML <iframe> longdesc Attribute

HTML iframe Tag Reference HTML <iframe> tag

Example

Point to a page with a long description of the content of the <iframe>:

<iframe src="/default.asp" width="200" height="200" longdesc="w3s.txt">
</iframe>
Try it Yourself »

Definition and Usage

The <iframe> longdesc attribute is not supported in HTML5.

The longdesc attribute specifies a URL to a page that contains a long description of the content of an <iframe>.

Note: The longdesc attribute is so poorly supported that it should not be used. To offer a long description of an <iframe> (if necessary), simply create a link (that is visible to anyone) to a page with the description.


Browser Support

Attribute
longdesc Not supported Not supported Not supported Not supported Not supported

Syntax

<iframe longdesc="URL">

Attribute Values

Value Description
URL A URL to a page that describes the content of an <iframe>.

Possible values:

  • An absolute URL - points to another web site (like longdesc="http://www.example.com/description.txt")
  • A relative URL - points to a file within a web site (like longdesc="description.txt")

HTML iframe Tag Reference HTML <iframe> tag