How to display ruby annotation in HTML5?

HTMLWeb DevelopmentFront End Technology

The HTML <ruby> tag specifies ruby annotations, which are for East Asian characters’ pronunciation. You can try to run the following code to display ruby annotation −

Example

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Ruby Tag</title>
   </head>
   <body>
      <ruby>
         æ˜Žæ—¥ <rp>(</rp><rt>This is it</rt><rp>)</rp>
      </ruby>
   </body>
</html>
raja
Published on 13-Mar-2018 18:45:15
Advertisements