English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

HTML Tag Directory

HTML: <iframe> longdesc Attribute

This article introduces the HTML iframe llongdesc attribute to specify the URL of the page, the degree of support for the longdesc attribute is very poor, therefore it should not be used. To provide detailed description of <iframe> (if necessary), simply create a link to the page with the description.

 HTML <iframe> tag

Online Example

Point to a page with <iframe> content and detailed description:

<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>Basic Tutorial Website(oldtoolbag.com)</title> 
</head>
<body>
<iframe src="//www.oldtoolbag.com" width="400" height="250" longdesc="w3codebox.txt">
   <p>Your browser does not support the iframe tag.</p>
</iframe>
</body>
</html>
Test to see ‹/›

Browser Compatibility

IEFirefoxOperaChromeSafari

Almost all mainstream browsers do not support the longdesc attribute.

Definition and Usage

HTML5 The <iframe> longdesc attribute is not supported.

The longdesc attribute specifies the URL of a page that contains a detailed description of the <iframe> content.
Note: The support for the longdesc attribute is very poor, so it should not be used. To provide a detailed description of the <iframe> (if necessary), simply create a link to the page containing the description (anyone can see it).

Syntax

<iframe longdesc="URL">

Attribute value

ValueDescription
URLA URL to a page describing the content of a <iframe>.
Possible values:
Absolute URL  - Points to another website (such as LONGDESC = 'http:')//www.example.com/description.txt')
Relative URL  - Points to a file within a website (such as LONGDESC = 'description.txt')
 HTML <iframe> tag