Dofactory.com
Dofactory.com

HTML <rt> Tag

The <rt> tag provides the translation or pronunciation in a <ruby> annotation.

This tag is placed inside the <ruby> tag.

Example

#

This <rt> element contains the translation (Yes) for the Japanese text 'はい'.

はい (Yes)
<ruby>
  はい
  <rp>(</rp><rt>Yes</rt><rp>)</rp>
</ruby>
rt = ruby translation

Browser support

Here is when <rt> support started for each browser:

Chrome
5.0 May 2010
Firefox
38.0 May 2015
IE/Edge
5.5 Jul 2000
Opera
15.0 May 2013
Safari
5.0 Jun 2010

You may also like


Last updated on Sep 30, 2023




Guides