HTML <rt> Tag

Definition and Usage

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

will <rp> and <ruby> and <rt> Usage Together: The <ruby> element consists of one or more characters that need to be explained or pronounced, as well as providing <rt> The element, as well as the 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 that fully supports this tag.

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