Latest web development tutorials

HTML frame longdesc attribute

HTML frame Tag Reference HTML <frame> tag

Examples

longdesc attribute points to a page with a long description of the frame contents:

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

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Almost all of the major browsers do not support the longdesc attribute.


Definition and Usage

HTML5 does not support the <frame> tag.

longdesc attribute specifies the URL to a page, the page contains information about the long description of the frame contents.

Tip: Because of browser support for the longdesc attribute is very poor, there is no need to use this property. To provide a long description for a frame (if necessary), simply create a link to a page description (the link is visible to anyone).


grammar

<frame longdesc="URL">

Property Value

描述
URL 规定描述框架内容的页面的 URL。

可能的值:

  • 绝对 URL - 指向另一个网站(比如 longdesc="http://www.example.com/description.txt")
  • 相对 URL - 指向网站内的一个文件(比如 longdesc="description.txt")


HTML frame Tag Reference HTML <frame> tag