The HTML <rt> tag

Definition and Usage

<rt> The tag defines the explanation or pronunciation of characters in ruby annotations (for East Asian typesetting).

will <rp> with <ruby> and <rt> Used Together: The <ruby> element consists of one or more characters that need to be explained or pronounced, along with <rt> An element, as well as an optional <rp> element, is used to define what content is displayed for browsers that do not support ruby annotations.

Example

Pinyin Annotation:

<ruby>
漢 <rt> ㄏㄢˋ </rt>
</ruby>

Try It Yourself

Global Attributes

<rt> The tag also supports Global Attributes in HTML.

Event Attributes

<rt> The tag also supports Event Attributes in HTML.

Default CSS Settings

Most browsers will display the following default values <rt> Element:

rt {
  line-height: normal;
}

Browser Support

The numbers in the table indicate the first browser version to fully support the tag.

Chrome Edge Firefox Safari Opera
Chrome Edge Firefox Safari Opera
5.0 5.5 38.0 5.0 15.0