<RT>NN n/a IE 5 HTML X1.1  

<RT>...</RT>

End Tag: Required  

The rt element contains the text that is the annotation for a corresponding rb element. Browsers that support ruby text usually render rt elements in a smaller font size than the base text. Through style sheet assignment, you can also use alternate font families. You can also assign different a language set for the ruby text via the xml:lang attribute of the rt element.

 
Example
 
<RUBY>
  <RB>03</RB><RT>Month</RT>
  <RB>04</RB><RT>Day</RT>
  <RB>2003</RB><RT>Year</RT>
</RUBY>
 
Object Model Reference
 
[window.]document.getElementById(elementID)
 
Element-Specific Attributes
 
rbspan
 
Element-Specific Event Handler Attributes

None.

langNN 3 IE 4 HTML 4  

lang="languageCode"

Optional  

The language being used for the element's attribute values and content. A browser can use this information to assist in proper rendering of content with respect to details such as treatment of ligatures (when supported by a particular font or required by a written language), quotation marks, and hyphenation. Other applications and search engines might use this information to aid the selection of spell-checking dictionaries and the creation of indices.

 
Example
 
<SPAN lang="de">Deutsche Bundesbahn</SPAN>
 
Value

Case-insensitive language code.

 
Default

Browser default.

 
Object Model Reference
 
[window.]document.getElementById(elementID).lang
rbspanNN n/a IE n/a HTML X1.1  

rbspan="integer"

Optional  

In some cases, you may want one rt element to span two or more contiguous rb elements. Assign the number of rb elements to the rt element's rbspan attribute. The mechanism is similar to the td element colspan attribute.

 
Value

Integer number of rb elements.

 
Default

1