HTML and CSS Reference
In-Depth Information
Name
ruby
Synopsis
<ruby> . . . </ruby>
Not in HTML 4.01 . Represents a run of text marked with ruby annotations , short guides to
pronunciation, and other notes used primarily in East Asian typography.
Usage
Categories:
Flow content, phrasing content, palpable content
Permitted contexts:
Where phrasing content is expected
Permitted content:
Phrasing content, but may not contain ruby elements. May also contain one or more rt
elements, optionally with rp elements before and after the rt element.
Start/end tags:
Required/Required
Attributes
HTML5 Global Attributes
Example
In the following example, the pronunciation tips in the rt elements will be displayed above
the ideographs in visual browsers:
<ruby>
<rt>hàn</rt>
Search WWH ::




Custom Search