Description

The <rt> element is used within a <ruby> to define the pronunciation of character presented in a ruby annotations. This element is primarily used for showing pronunciation of characters in languages, like Chinese and Japanese Chinese.

The following table summarizes the usages context and the version history of this tag.

Placement:Inline
Content:Inline and text
Start/ End Tag:Start tag: required, End tag: required
Version:HTML 5

Syntax

The basic syntax of the <rt> tag is given with:

HTML/XHTML: <rt> ... </rt>

The example below shows the <rt> tag in action.

<ruby>
  漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
  字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>

Tag-Specific Attributes

The <rt> tag doesn't have any specific attribute.

Global Attributes

Like all other HTML tags, the <rt> tag supports the glodelal Attributes in HTML5.

Event Attributes

The <rt> tag also supports the event Attributes in HTML5.

Browser Compatibility

Element
<rt>YesYesYesYesYes