rb (HTML element)
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
| IE | 5.5 | Full |
|---|---|---|
| 6.0 | Full | |
| 7.0 | Full | |
| Firefox | 1.0 | None |
| 1.5 | None | |
| 2.0 | None | |
| Safari | 1.3 | None |
| 2.0 | None | |
| 3.0 | None | |
| Opera | 9.2 | None |
| 9.5 | None |
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.
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.

