| Depr. | Empty | Version |
|---|---|---|
| No | No | XHTML 1.1 |
| IE5.5+ | FF3.5 | SA4 | OP10 | CH2 |
|---|---|---|---|---|
| Full | None | None | None | None |
Syntax
<rb>
</rb>
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.
Example
An example usage of
rb:
<ruby> <rb>家辺 勝文</rb> <rt>liaison</rt> </ruby>
Use This For …
This element is used to contain foreign characters that require annotation.
Compatibility
| Internet Explorer | Firefox | Safari | Opera | Chrome | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5.5 | 6.0 | 7.0 | 8.0 | 1.0 | 1.5 | 2.0 | 3.0 | 3.5 | 1.3 | 2.0 | 3.1 | 4.0 | 9.2 | 9.5 | 10.0 | 2.0 |
| Full | Full | Full | Full | None | None | None | None | None | None | None | None | None | None | None | None | 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.