References

Beginner-friendly references for web development, with live, editable examples.

The HTML <rtc> tag

Element Updated
Quick answer

The HTML <rtc> (ruby text container) element grouped <rt> annotations to support complex, multi-level ruby, for example providing both a pronunciation and a meaning for the same base text. It is deprecated, listed among the HTML standard's obsolete features, so use a plain <rt> instead.

Overview

The <rtc> (ruby text container) element groups a set of <rt> annotations within a <ruby>, enabling multi-level ruby, for example one container for pronunciation and another for meaning over the same base text.

It is deprecated. The current HTML standard lists <rtc> among its obsolete features and browser support is being withdrawn, so do not use it in new markup. For the common single-annotation case a plain <rt> is all you need, and where you genuinely need two annotation layers, separate <ruby> elements are the portable option.

Syntax

<ruby><rtc><rt>kan</rt></rtc></ruby>

Example

Live example
<p><ruby>東京<rtc><rt>Tōkyō</rt></rtc></ruby></p>

Best practices

  • Use <rtc> only for complex, multi-level ruby annotations.
  • Group related <rt> annotations within each container.
  • Check browser support before relying on it, as it is inconsistent.
  • For ordinary single-layer ruby, a plain <rt> is sufficient.

Frequently asked questions

What is the rtc element?
A deprecated container that grouped <rt> annotations for multi-level ruby, such as separate pronunciation and meaning layers.
When do I need rtc?
You do not. It is deprecated, so use a plain <rt>, or separate <ruby> elements when you need more than one annotation layer.
Is rtc widely supported?
No. It is deprecated and listed as obsolete in the HTML standard, and support is being withdrawn, so do not rely on it.
What is the difference between rtc and rt?
<rt> is a single annotation; <rtc> groups several of them into an annotation layer.