ruby

< html‎ | elements
Jump to: navigation, search

ruby

This article is In Progress.



Summary

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.


Overview Table

DOM Interface HTMLElement

Internationalization topics related to the ruby element:

Examples

View live exampleThis 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>

Notes

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.

Standards information


HTML information

{

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related articles

Ruby



  • html/elements/ruby



Related pages (MSDN)

  • rt

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]