The HTML Tag: ruby is used to add annotations to the text in a document. It is commonly used in East Asian typography to add pronunciation or translation information to characters. The ruby text is displayed above or below the base text and is usually smaller in size. This tag is supported by most modern browsers.
The HTML Tag: ruby is used to add annotations to the text in a document. It is used to provide additional information about the text, such as pronunciation or translation. The ruby text is displayed above or below the base text and is usually smaller in size. The ruby text is enclosed in the ruby element, which contains one or more ruby annotations. The base text is enclosed in the rb element. The rt element contains the ruby text. The rp element is used to provide fallback content for browsers that do not support the ruby element.
Example 1:
日本語にほんご
Output:
日本語
Example 2:
中文zhōng wén
Output:
中文
Example 3:
한국어한국어
Output:
한국어