rt

< html‎ | elements
Jump to: navigation, search

rt

This article is In Progress.



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

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

HTML

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

HTML


<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

Specification Status Related Changes
HTML 5.1 W3C Working Draft
HTML 5 W3C Recommendation

See also

Related pages (MSDN)

  • ruby

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]