HTML <ruby> Tag
<ruby> HTML element is intended to add a small annotation above or below the specified text. This form of recording is mainly used for ideographic writing like the Chinese language, but can be used for other languages if you want to write one text over another.
<ruby> element itself acts as a container for
<rt>, it forms an annotation to the text after which it comes; as well as
<rp>, this element is for browsers that do not support
The name comes from the word "ruby", which in the printing house denotes a small font.
- Permitted Parents
- Any element that accepts phrasing content
- Inline and text
- Start/End Tags
- Start tag: required, End tag: required
<ruby> tag also supports the Global Attributes in HTML5
<ruby> tag also supports the Event Attributes in HTML5
The following table will show you the current browser support for the HTML
|Tablets / Mobile|
Last updated by CSSPortal on: 30th September 2023