Warning:
This wiki has been archived and is now read-only.

Elements/rt

From HTML Wiki
Jump to: navigation, search

<rt>

The <rt> element marks the ruby text component of a ruby annotation.

Point

  • An rt element that is a child of a ruby element represents an annotation for the nodes that immediately precedes.


HTML Attributes

See global attributes.


Examples

Example A

In this example, each ideograph in the Japanese text 漢字 is annotated with its reading in hiragana. [try it]:

<p>...<ruby>漢<rt>かん</rt>字<rt>じ</rt></ruby>...</p>


HTML Reference

The HTML5 specification defines the <rt> element in 4.6.20 The rt element.