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>
See Also