HTML <rt> tag

Updated: 04/26/2017 by Computer Hope

HTML rt tagWhen 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 within 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 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

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

Browser, Compatibility, HTML rp tag, Nesting, Ruby