<rt>
Published Jul 19, 2023
Contribute to Docs
The <rt>
semantic HTML element represents the ruby text component of a ruby annotation, which provides translation, pronunciation, or transliteration information for East Asian typography. The <rt>
element must be used within a <ruby>
element at all times.
Example
The following example provides a basic implementation of the tag illustrating a Romaji transliteration for the ‘kenjutsu’ characters within the <ruby>
element:
<ruby> 剣 <rt>ken</rt> 術 <rt>jutsu</rt> </ruby>
Which yields the following result:
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.