0 out of 1 rated this helpful - Rate this topic

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.

HTML5 A vocabulary and associated APIs for HTML and XHTML

Standards information

HTML information

Closing Tagrequired
CSS Displayinline

DOM Information

Inheritance Hierarchy

 Node
    ruby
 Element
    ruby

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

rt

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ