HTML <ruby> tag is used to define annotations for East Asian typography. It's commonly used in languages such as Chinese and Japanese to provide pronunciation or additional information for characters. It is often used with the <rt> (ruby text) and <rp> (ruby parenthesis) tags to provide the annotation text and optional parentheses, respectively.
<ruby> <rb>Main text</rb> <rt>Ruby text</rt> </ruby>
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Ruby Tag with Example</title> </head> <body> <p>HTML Ruby Tag with example <ruby>Code<rt>Sakala</rt></ruby>.</p> </body> </html>