<ruby> tag in HTML5
The <ruby> tag is used for specify the ruby annotation which is a small text, attached with the main text to specify the meaning of the main text.
The <ruby> element commonly are used for showing pronounciation of East Asian typography, like Korean or Chinese or Japanese characters.
Important Description
- The <ruby> tag is new in HTML5.
- The <ruby> tag use together with the <rt> and/or the <rp> tags.
- Open and close tag required of <ruby>.
Example for <ruby> tag
Result Look Like
金
勇
<ruby> Tag Browser Support
Element |
Chrome |
Edge |
Firefox |
Safari |
Opera |
<ruby> |
Yes |
Yes |
Yes |
Yes |
Yes |
Version |
5.0 |
5.5 |
38.0 |
5.0 |
15.0 |
Global Attributes
Event Attributes