rubyelement, either immediately before or immediately after an
rp element can be used to provide parentheses
around a ruby text component of a ruby annotation, to be shown by
user agents that don't support ruby annotations.
rp element represents
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:
... <ruby>漢<rp> (</rp><rt>かん</rt><rp>) </rp>字<rp> (</rp><rt>じ</rt><rp>) </rp></ruby> ...
In conforming user agents the rendering would be as above, but in user agents that do not support ruby, the rendering would be:
... 漢 (かん) 字 (じ) ...