ruby element | ruby object
[This documentation is preliminary and is subject to change.]
Designates an annotation or pronunciation guide to be placed above or inline with a string of text.
![]() |
Standards information
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | inline |
DOM Information
Inheritance Hierarchy
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.
This element is available in HTML and script as of Microsoft Internet Explorer 5.
Examples
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.
Code example: http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/ruby.htm
<RUBY> Base Text <RT>Ruby Text </RUBY>
See also
Build date: 3/8/2012
