Summary
The HTML <rtc>
Element embraces semantic annotations of characters presented in a ruby of {{HTMLElement("rb")}} elements used inside of {{ HTMLElement("ruby") }} element. {{HTMLElement("rb")}} elements can have both pronunciation ({{HTMLElement("rt")}} and semantic (<rtc>
) annotations.
Content categories | None. |
---|---|
Permitted content | Phrasing content or {{HTMLElement("rt")}} elements |
Tag omission | The closing tag can be omitted if it is immediately followed by a {{HTMLElement("rb")}}, {{HTMLElement("rtc")}} or {{HTMLElement("rt")}} element opening tag or by its parent closing tag. |
Permitted parent elements | A {{HTMLElement("ruby")}} element. |
DOM interface | {{domxref("HTMLElement")}} |
Attributes
This element only includes the global attributes.
Example
<ruby> <rb>旧</rb> <rb>金</rb> <rb>山</rb> <rt>jiù</rt> <rt>jīn</rt> <rt>shān</rt> <rtc>San Francisco</rtc> </ruby>
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML5 W3C', 'the-rtc-element.html#the-rtc-element', '<rtc>')}} | {{Spec2('HTML5 W3C')}} | Initial definition. |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatGeckoDesktop(33)}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | {{CompatNo}} | {{CompatGeckoMobile(33)}} | {{CompatNo}} | {{CompatNo}} | {{CompatNo}} |
See also
- {{HTMLElement("ruby")}}
- {{HTMLElement("rp")}}
{{ HTMLRef }}