`<rtc>` HTML ruby text container element
The <rtc> HTML 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.
The **`<rtc>`** [HTML](/docs/Web/HTML) 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.
tabbed-standard
```html interactive-example
<ruby lang="zh-Hant">
<rbc>
<rb>馬</rb><rp>(</rp><rt>mǎ</rt><rp>)</rp>
<rb>來</rb><rp>(</rp><rt>lái</rt><rp>)</rp>
<rb>西</rb><rp>(</rp><rt>xī</rt><rp>)</rp>
<rb>亞</rb><rp>(</rp><rt>yà</rt><rp>)</rp>
</rbc>
<rtc lang="en">
<rp>(</rp><rt>Malaysia</rt><rp>)</rp>
</rtc>
</ruby>
```
```css interactive-example
ruby {
font-size: 2em;
ruby-position: under;
}
rtc {
ruby-position: over;
}
```
## Attributes
This element only includes the [global attributes](/docs/Web/HTML/Reference/Global_attributes).
## Examples
```html
<div class="info">
<ruby>
<rbc>
<rb>旧</rb><rt>jiù</rt> <rb>金</rb><rt>jīn</rt> <rb>山</rb><rt>shān</rt>
</rbc>
<rtc>San Francisco</rtc>
</ruby>
</div>
```
```css hidden
.info {
padding-top: 10px;
font-size: 36px;
}
```
### Result
600
## Technical summary
<table class="properties">
<tbody>
<tr>
<th scope="row">
<a href="/en-US/docs/Web/HTML/Guides/Content_categories"
>Content categories</a
>
</th>
<td>None.</td>
</tr>
<tr>
<th scope="row">Permitted content</th>
<td>
<a href="/en-US/docs/Web/HTML/Guides/Content_categories#phrasing_content"
>Phrasing content</a
>
or rt elements.
</td>
</tr>
<tr>
<th scope="row">Tag omission</th>
<td>
The closing tag can be omitted if it is immediately followed by a
rb, <code><rtc></code> or
rt element opening tag or by its parent
closing tag.
</td>
</tr>
<tr>
<th scope="row">Permitted parents</th>
<td>A ruby element.</td>
</tr>
<tr>
<th scope="row">Permitted ARIA roles</th>
<td>Any</td>
</tr>
<tr>
<th scope="row">DOM interface</th>
<td>HTMLElement</td>
</tr>
</tbody>
</table>
## Specifications
## Browser compatibility
## See also
- ruby
- rp
- rb
- rt
- [CSS ruby layout](/docs/Web/CSS/Guides/Ruby_layout) module
Cite this
"` ` HTML ruby text container element". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/rtc JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy