我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
Summary
The HTML <rt>
Element embraces pronunciation of characters presented in a ruby annotations, which are used to describe the pronunciation of East Asian characters. This element is always used inside a <ruby>
element.
Content categories | None. |
---|---|
Permitted content | Phrasing content. |
Tag omission | The end tag may be omitted if the <rt> element is immediately followed by an <rt> or <rp> element, or if there is no more content in the parent element |
Permitted parent elements | A <ruby> element. |
DOM interface | HTMLElement |
Attributes
This element only includes the global attributes.
Example
<ruby> 漢 <rt>Kan</rt> 字 <rt>ji</rt> </ruby>
Specifications
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of '<rt>' in that specification. |
Living Standard | |
HTML5 The definition of '<rt>' in that specification. |
Recommendation |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 5.0 | 38 (38) | 5.0 | No support | 5.0 |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | (Yes) | 38.0 (38) | (Yes) | No support | (Yes) |