HTML frame longdesc Attribute

Definition and Usage

The longdesc attribute specifies the URL of a page that contains a (long) description of the frame.
This attribute is used for browsers that does not support frames (like text only browsers or non-visual browsers).
The title tag is a useful describing frame pages, however, for longer and more detailed descriptions it is recommended to use the longdesc attribute and a separate page.

Syntax

<frame longdesc="URL" />

Syntax Example

<frame longdesc="demo_frame_longdesc.htm" />

Attribute Values

Value Description
URL The web address of description page. Possible values:
  • An absolute URL - Is used to navigate to another web site (like longdesc="www.example.com/description.htm")
  • A relative URL - Is used to navigate within a site (like longdesc="description.htm")


Browser Support

The attribute is deprecated, and not supported by major browsers.

Example

<html>
<frameset cols="50%,50%">
<frame src="frame_a.htm"
longdesc="demo_frame_longdesc.htm" />
<frame src="frame_b.htm" frameborder=0 />
</frameset>
</html>
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved