HTML <rt> tag

Updated: 11/13/2018 by Computer Hope
HTML rt tag

When writing in HTML, the <rt> tag is an inline element used to designate the pronunciation of an East Asian word or character. It is nested in the <ruby> element on a web page. The following sections contain information about this tag, including an example of it in use, as well as related attributes and browser compatibility.

Example of <rt> code

<p><ruby>
今 <rp>(</rp><rt>Today</rt><rp>)</rp>
</ruby></p>

Example result

( Today )

Attributes

Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair. While the <rt> tag does not have any unique attributes, it does utilize all of the standard attributes.

Compatibility

Edge Internet Explorer Firefox Safari Opera Chrome
Not supported 5.0+ 38.0+ 5.0+ 15.0+ 5.0+

Browser, Compatibility, HTML rp tag, Nesting, Ruby, Web design terms