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 parents | A <ruby> element. |
Permitted ARIA roles | Any |
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 | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic support | 5.0 | (Yes) | 38 (38) | 5.0 | No support | 5.0 |
Feature | Android | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | 38.0 (38) | (Yes) | No support | (Yes) |
See also
Document Tags and Contributors
Tags:
Contributors to this page:
sideshowbarker,
houhr,
Pokechu22,
erikadoyle,
PuercoPop,
Sebastianz,
Sheppy,
towkir17,
bboyle,
teoli,
kscarfone,
tregagnon,
medicdude,
ethertank,
avsaro
Last updated by:
sideshowbarker,