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

HTML
HTML 介绍
HTML 元素
HTML 基本标签
HTML 格式
HTML 实体字符
HTML 链接
HTML 框架
HTML 表格
HTML 列表
HTML 表单
HTML 图片
HTML 背景
HTML 颜色
HTML 颜色值
HTML 颜色名
HTML 便条
HTML 布局
HTML 字体
HTML 4.0
HTML 样式

HTML <abbr>标签


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 487 ::
收藏到网摘: 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

登陆 | 还没注册?