files/en-us/web/html/reference/elements/rtc/index.md
{{deprecated_header}}
The <rtc> HTML 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.
{{InteractiveExample("HTML Demo: <rtc>", "tabbed-standard")}}
<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>
ruby {
font-size: 2em;
ruby-position: under;
}
rtc {
ruby-position: over;
}
This element only includes the global attributes.
<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>
.info {
padding-top: 10px;
font-size: 36px;
}
{{EmbedLiveSample("Examples", 600, 120)}}
{{Specifications}}
{{Compat}}