HTML <frame> longdescAttributes

HTML frame 标签参考手册HTML <frame> Tag

Examples

The longdesc attribute points to a page with a long description of the frame's content:

<frameset cols="50%,50%">
  <frame src="frame_a.htm.html" longdesc="w3s.txt">
  <frame src="frame_b.htm.html">
</frameset>

Try it Yourself »

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all mainstream browsers do not support the longdesc attribute.


Definition and Usage

HTML5 does not support the <frame> tag.

The longdesc attribute specifies a URL to a page that contains a long description of the frame's content.

Tip:Due to very poor browser support for the longdesc attribute, there is no need to use it. If you need to provide a long description for a frame (if necessary), simply create a link to the description page (the link is visible to everyone).


Syntax

<frame longdesc="URL">

Attribute Values

Value Description
URL Specifies the URL of a page that describes the frame's content.

Possible values:

  • Absolute URL - Points to another website (e.g., longdesc="http://www.example.com/description.txt")
  • Relative URL - Points to a file within a website (e.g., longdesc="description.txt")


HTML frame 标签参考手册HTML <frame> Tag Other Extensions