The HTML Ruby Text Container (<rtc>) element embraces semantic annotations of characters presented in a ruby of <rb> elements used inside of <ruby> element. <rb> elements can have both pronunciation (<rt>) and semantic (<rtc>) annotations.
| Content categories | None. |
|---|---|
| Permitted content | Phrasing content or <rt> elements. |
| Tag omission | The closing tag can be omitted if it is immediately followed by a <rb>, <rtc> or <rt> element opening tag or by its parent closing tag. |
| Permitted parents | A <ruby> element. |
| Permitted ARIA roles | Any |
| DOM interface | HTMLElement |
Attributes
This element only includes the global attributes.
Example
<div class="info"> <ruby> <rb>旧</rb><rt>jiù</rt> <rb>金</rb><rt>jīn</rt> <rb>山</rb><rt>shān</rt> <rtc>San Francisco</rtc> </ruby> </div>
.info {
padding-top: 10px;
font-size: 36px;
}
Specifications
| Specification | Status | Comment |
|---|---|---|
| HTML5 The definition of '<rtc>' in that specification. |
Recommendation | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|---|
| Basic support | No | No | 33 | No | No | No |
| Feature | Android webview | Chrome for Android | Edge mobile | Firefox for Android | Opera Android | iOS Safari | Samsung Internet |
|---|---|---|---|---|---|---|---|
| Basic support | No | No | No | 33 | No | No | ? |
See also
Document Tags and Contributors
Tags:
Contributors to this page:
yuheiy,
Benji1337,
anton.ingfors,
Sheppy,
teoli,
Pokechu22,
sideshowbarker,
shvaikalesh,
Sebastianz,
Inkbug
Last updated by:
yuheiy,

