摘要
HTML 定义元素 () 表示术语的一个定义。
HTML5 使用说明:
元素标记了被定义的术语;属于定义应当在
, 或定义列表 (通常是, 对)中给出。
被定义术语的值由下列规则确定:
如果 元素有一个 title 属性,那么该术语的值就是该属性的值。
否则,如果它仅包含一个 元素,该元素拥有
否则, 元素的文本内容就是该术语的值。
允许的内容
Phrasing content, but no element must be a descendant.
标签省略
不允许,开始标签和结束标签都不能省略。
允许的父元素
Any element that accepts phrasing content.
属性
该元素包括全局属性。
在 HTML5 中,title 属性拥有特殊含义,见上文。
示例
下列示例是合法的HTML5。
The Internet is a global system of interconnected networks that use the Internet Protocol Suite (TCP/IP) to serve billions of users worldwide.
在同一文档的后面:
WWW
The World-Wide Web (WWW) is a system of interlinked hypertext documents accessed on the Internet.结果
标准
浏览器兼容性
特性
Chrome
Firefox (Gecko)
Internet Explorer
Opera
Safari
基本支持
(Yes)
1.0 (1.7 or earlier)
(Yes)
(Yes)
(Yes)
特性
Android
Firefox Mobile (Gecko)
IE Mobile
Opera Mobile
Safari Mobile
基本支持
(Yes)
1.0 (1.0)
(Yes)
(Yes)
(Yes)
相关链接
这篇文章有帮助吗?
是
否
谢谢!