Skip to: content, navigation

by Ian Lloyd

rb (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

An example usage of rb:

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

Description

The rb element is a child element of the ruby element, and is used to contain the characters that require pronunciation help or are displayed as a learning aid.

For simple ruby markup, only one rb element may appear. However, there are more complex mechanisms for marking up ruby—including the use of the rbc element—which do allow for the presence of multiple instances of the rb element.

Use This For …

This element is used to contain foreign characters 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.

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