Summary
The HTML <rt>
Element embraces pronunciation of characters presented in a ruby annotations, which is used to describe the pronunciation of East Asian characters. This element is always used inside a {{ HTMLElement("ruby") }} element.
- Content categories None.
- Permitted content Phrasing content.
- Tag omission {{no_tag_omission}}
- Permitted parent elements A {{HTMLElement("ruby")}} element.
- DOM interface {{domxref("HTMLElement")}}
Attributes
This element only includes the global attributes.
Example
<ruby> 漢 <rt>Kan</rt> 字 <rt>ji</rt> </ruby>
{{EmbedLiveSample("Example")}}
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', 'text-level-semantics.html#the-rt-element', '<rt>')}} | {{Spec2('HTML WHATWG')}} | |
{{SpecName('HTML5 W3C', 'text-level-semantics.html#the-rt-element', '<rt>')}} | {{Spec2('HTML5 W3C')}} |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 5.0 | {{CompatGeckoDesktop(38)}} | 5.0 | {{CompatNo}} | 5.0 |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatVersionUnknown}} | {{CompatGeckoMobile(38)}} | {{CompatVersionUnknown}} | {{CompatNo}} | {{CompatVersionUnknown}} |
See also
- {{HTMLElement("ruby")}}
- {{HTMLElement("rp")}}
{{ HTMLRef }}