ruby

FilterElements

<ruby> ... </ruby>

HTML5 only. Represents a run of text marked with ruby annotations, short guides to pronunciation, and other notes used primarily in East Asian typography.

Start/End Tags

Required/Required

Specifications

  • HTML5

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>
字 <rt>zì</rt>
</ruby>

This example was taken from the HTML5 Working Draft at whatwg.com, used with permission under an MIT License.

Rendered Example

The ruby and rt elements are not supported and can not be properly displayed.