<ruby> tag is used to represent a ruby annotation. Ruby annotations are for showing pronunciation of East Asian characters.
The only content permitted inside this element is phrasing content. Both the starting and ending tag are mandatory for this element. The parent of the
<ruby> tag can be any element that accepts phrasing content.
Here are some examples of using this tag:
<ruby> 漢 <rp>(</rp><rt>Kan</rt><rp>)</rp> 字 <rp>(</rp><rt>ji</rt><rp>)</rp> </ruby> <ruby> 明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp> </ruby>
This element only accepts global attributes.
- Read more about the HTML
<ruby>element on MDN.
- You can also read the HTML
<ruby>tag reference on W3C.
2. As a registered user, you will also get to access features like choosing between a light and dark theme or anything else that we might implement in future.