This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

rt

Summary

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

Overview Table

DOM Interface
HTMLElement

Internationalization topics related to the rt element:

Examples

This example uses the RT element to specify a string of text as an annotation or pronunciation guide to the base text.

<ruby>
   Base Text
   <rt>Ruby Text
</ruby>

View live example


<p lang="ja">...<ruby><rt>かん</rt><rt></rt></ruby>...</p>

Notes

Remarks

A ruby is an annotation or pronunciation guide for a string of text. The string of text annotated with a ruby is referred to as the base. The ruby text specified by the RT element is positioned above or inline with the rubyPosition property. Browsers that do not support the RT element render the ruby text inline with the base text. This element is available in HTML and script as of Microsoft Internet Explorer 5. The ruby text specified by the RT element is positioned above or inline with the rubyPosition property.

Related specifications

HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation

See also

Related pages

  • ruby

Attributions