当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML <abbr>标签

HTML
HTML Head
HTML Meta
HTML URLs
HTML Scripts
HTML 属性
HTML 事件
HTML URL-encode
HTML Web服务器
HTML 摘要
HTML 实例
标签列表
标准属性
事件属性
ASCII码
特殊字符
HTTP状态消息

HTML <abbr>标签


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 488 ::
收藏到网摘: n/a

Definition and Usage
用法

Indicates an abbreviated form, like "Inc.", "etc.". By marking up abbreviations you can give useful information to browsers, spell checkers, translation systems and search-engine indexers.
指出有缩写的内容,比如"Inc","etc",通过标记出缩写能够给浏览器提供有用的信息,平写的检查,翻译系统或是搜索引擎的索引。


Differences Between HTML and XHTML
该标签在HTML和XHTML中的区别

NONE


Tips and Notes
注意点与提示

Tip: In some browsers the title attribute can be used to show the full version of the expression when you are holding the mouse over the abbreviation. 
在一些浏览器中使用titile属性可以让完整的内容在鼠标移动到缩写的内容上时显示出来


Example
实例

Source
代码
Output
输出结果
<abbr title="United Nations">UN</abbr> UN


Standard Attributes
标准属性

id, class, title, style, dir, lang, xml:lang

For a full description, go to Standard Attributes.
查看相应描述

Event Attributes
事件属性

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

For a full description, go to Event Attributes.
查看相应描述


Try-It-Yourself Demos
演示

Abbreviations and acronyms
How to handle an abbreviation and an acronym.
如何处理简称以及缩写

评论 (0) All

登陆 | 还没注册?