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.
This article is In Progress.
The ruby element allows one or more spans of phrasing content to be marked with ruby annotations. Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations.
Ruby annotations are short runs of text presented alongside base text, primarily used in East Asian typography as a guide for pronunciation or to include other annotations.
In Japanese, this form of typography is also known as furigana.
This example uses the RUBY element to specify the first string of text as the base, and the RT element to specify the second string of text as the ruby.
<ruby> <rb>Base Text</rb> <rt>Ruby Text</rt> </ruby>
In this example, each ideograph in the Japanese text 漢字 is annotated with its reading in hiragana.
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 only valid object within the RUBY element is the RT element. Text not contained within the ruby text object, RT, is assumed to be a part of the base. This element is available in HTML and script as of Microsoft Internet Explorer 5.
|HTML 5.1||W3C Working Draft|
|HTML 5||W3C Recommendation|
Related pages (MSDN)
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]