This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

rp

Summary

Used to provide fallback text to be shown by user agents that don’t support ruby annotations

Overview Table

DOM Interface
HTMLElement

Examples

The example above, in which each ideograph in the text 漢字 is annotated with its phonetic reading, could be expanded to use rp so that in legacy user agents the readings are in parentheses


<p lang="ja" xml:lang="ja">
...
<ruby><rp>(</rp><rt>かん</rt><rp>)</rp><rp>(</rp><rt></rt><rp>)</rp>
</ruby>
...
</p>

Related specifications

HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation