Skip to: content, navigation

by Ian Lloyd

rt (HTML element)

Spec
Depr. Empty Version
No No XHTML 1.1
Browser support full matrix
IE5.5+ FF2 Saf3 Op9.5
Full None None None

Example

Here’s rt in action:

<ruby>
 <rb>家辺 勝文</rb>
 <rt>liaison</rt>
</ruby>
Type
inline element
Contains
inline elements
Contained by
ruby, rtc

Description

The rt element is a child element of the ruby element and contains the annotation that will be displayed to the user on screen, ideally beside or above the base text (rb) which requires the annotation.

For simple ruby markup, only one rt element may appear. However, there are more complex mechanisms for marking up ruby, using the rtc element, which do allow for multiple instances of the rt element.

Use This For …

This element is used to contain the annotation that relates to the foreign characters (contained in the rb element) that require annotation.

Compatibility

IE5.5Full
6.0Full
7.0Full
Firefox1.0None
1.5None
2.0None
Safari1.3None
2.0None
3.0None
Opera9.2None
9.5None

Only Internet Explorer offers any support for text marked up using ruby at this time. Other browsers ignore the markup and display the ruby text in the order in which it appears in the source.

In this Section

Related Reading

User-contributed notes

There are no comments yet.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters