当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM longDesc属性
The longDesc property sets or returns a URL to a document containing a description of the image.
longDesc属性可设置或返回包含图片描述文档的URL
This description is a supplement to the "alt" attribute, and it can be useful for non-visual user agents.
描述是在"alt"属性上进行补充的,这些文字在那些非视觉用户代理很有用。
imageObject.longDesc=URL |
The following example creates a link to the description of the image:
建立一个能够描述图片的链接:
<html> <script type="text/javascript"> </body> |
Create a link to the long description of an image
建立一个对图片进行长篇描述的连接