HTML <rt> 标签
定义和用法
这 <rt>
tag defines an explanation or pronunciation of characters (for East Asian typography) in a ruby annotation.
Use <rt>
together with <ruby> and <rp>: The <ruby> element consists of one or more characters that needs an explanation/pronunciation, and an <rt>
element that gives that information, and an optional <rp> element that defines what to show for browsers that not support ruby annotations.
浏览器支持
表中的数字指定了完全支持该元素的第一个浏览器版本。
元素 | |||||
---|---|---|---|---|---|
<rt> | 5.0 | 5.5 | 38.0 | 5.0 | 15.0 |
全局属性
这 <rt>
标签还支持HTML 中的全局属性.
事件属性
这 <rt>
标签还支持HTML 中的事件属性.
Default CSS Settings
Most browsers will display the <rt>
element with the following default values:
rt {
line-height: normal;
}