HTML <ruby> Tag


The HTML <ruby> tag is used for specifying Ruby annotations, which is used in East Asian typography.

Ruby (also spelt rubi) characters are small, annotative glosses that can be placed above or to the right of a Chinese character when writing logographic languages such as Chinese or Japanese to show the pronunciation. Ruby annotations, are usually used as a pronunciation guide for relatively obscure characters.

Example Code:
漢 <rt><rp>(</rp>ㄏㄢˋ<rp>)</rp></rt>


Global Attributes:

The <ruby> tag also supports the Global Attributes in HTML5

Event Attributes:

The <ruby> tag also supports the Event Attributes in HTML5