Latest web development tutorials

HTML <ruby> tag

Examples

A ruby ​​annotation:

<Ruby>
Han <rp> (</ rp> <rt> Kan </ rt> <rp>) </ rp>
Word <rp> (</ rp> <rt> ji </ rt> <rp>) </ rp>
</ Ruby>

try it"

Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

IE 9 +, Firefox, Opera, Chrome and Safari support <ruby> tag.

Note: IE 8 or earlier versions of IE browser does not support the <ruby> tag.


Tag definitions and instructions

<Ruby> tag defines ruby ​​annotation (Chinese phonetic or characters).

In East Asia used to display the pronunciation of East Asian characters.

The <ruby> tag and <rt> and <rp> tag to use:
<Ruby> element consists of one or more requires explanation / pronunciation of characters and a provider of the information <rt> elements, also includes an optional <rp> element is defined when the browser does not support the "ruby" element is displayed when content.


Differences between HTML 4.01 and HTML5

<Ruby> tag is new in HTML5 tags.


Global Properties

<ruby> tag supports HTML global properties .


Event Properties

<ruby> tag supports HTML event properties .