HTML <rt>
Tag
The <rt>
tag specifies the text that is to be displayed as the ruby text component of a ruby annotation. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography.
The <rt>
tag is always used inside a <ruby>
element. The text inside the <rt>
element will be displayed as the ruby text for the associated base text.
Example:
<ruby>
漢 <rt>han</rt>
字 <rt>ji</rt>
</ruby>
Attributes of the <rt>
tag:
Attribute | Description |
---|---|
None | The <rt> tag does not have any specific attributes. |