HTML DOM longDesc Property
Complete IFrame Object Reference
Definition and Usage
The longDesc property sets or returns a URL to a document that contains a
description of the iframe contents.
Tip: Use it for browsers that do not support frames.
Syntax
iframeObject.longDesc=URL
|
Example
The following example creates a link to the description page:
<html>
<body>
<iframe src="frame_a.htm" id="frame1"
longdesc="frame_description.htm"></iframe>
<br />
<script type="text/javascript">
x=document.getElementById("frame1");
document.write("Description for frame contents: ");
document.write('<a href="' + x.longDesc + '">Description</a>');
</script>
</body>
</html>
|
Try-It-Yourself Demos
Use
the longdesc attribute in an <iframe> element
Complete IFrame Object Reference
|