Easy Tutorial
❮ Tag Div Att Audio Muted ❯

HTML <iframe> longdesc Attribute

HTML <iframe> Tag

Example

An example pointing to a page with a long description of the content within an <iframe>:

<iframe src="//www.tutorialpro.org" width="200" height="200" longdesc="w3s.txt">
   <p>Your browser does not support the iframe tag.</p>
</iframe>

Browser Support

Almost all major browsers do not support the longdesc attribute.


Definition and Usage

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

Note: Due to the poor support for the longdesc attribute in browsers, it is not necessary to use this attribute. If a long description is needed for an <iframe>, simply create a link to the description page (which is visible to everyone).


Syntax

Attribute Values

Value Description
URL Specifies the URL of the page containing the description of the <iframe> content. Possible values: Absolute URL - points to another website (e.g., longdesc="http://www.example.com/description.txt")<br>Relative URL - points to a file within the website (e.g., longdesc="description.txt")
❮ Tag Div Att Audio Muted ❯