Click to return to the DHTML, HTML     
RT Element | RT Object     rule Object     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

RUBY Element | RUBY Object


Designates an annotation or pronunciation guide to be placed above or inline with a string of text.

HTML Syntax

<RUBY
    CLASS=classname
    DIR=LTR | RTL
    ID=value
    LANG=language 
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS
    NAME=name
    STYLE=css1-properties
    TITLE=text
    event = script
>

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 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.

The RUBY element is an inline element and requires a closing tag.

This element is available in HTML and script as of Microsoft® Internet Explorer 5.

Members

Styles

Example

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>
   Base Text
   <RT>Ruby Text
</RUBY>
This feature requires Internet Explorer 5 or later. Click the icon below to install the latest version. Then reload this page to view the sample.
Microsoft Internet Explorer

See Also

RT



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.