<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.
Learn HTML on Codecademy
- Career path
Front-End Engineer
Front-end engineers work closely with designers to make websites beautiful, functional, and fast.Includes 34 CoursesWith Professional CertificationBeginner Friendly115 hours - Free course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner Friendly7 hours