XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / rp
(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
rp
HTML 5 |
<rp> ... </rp>
Used together with the element ruby to enclose ruby text in parentheses that appear if the user agent (browser) does not support ruby annotations. Ruby annotations clarify the pronunciation of East Asian typography. (This does not refer to the Ruby programming language!)
Notes
HTML 5 only.
Start/end tag
Required/required
Attributes
Example
In the following example, a browser unable to display ruby annotations would show the alternative content within the rt elements in parentheses after the character.
<ruby>
汉 <rp>(</rp><rt>hàn</rt><rp>)</rp>
字 <rp>(</rp><rt>zì</rt><rp>)</rp>
</ruby>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de