HTML - Ruby Tag


Advertisements


Description

The HTML <ruby> tag specifies ruby annotations which are for East Asian characters’ pronunciation.

Example

Live Demo
<!DOCTYPE html>
<html>

   <head>
      <title>HTML Ruby Tag</title>
   </head>

   <body>
      <ruby>
         明日 <rp>(</rp><rt>This is it</rt><rp>)</rp>
      </ruby>
   </body>

</html>

This will produce the following result −

Global Attributes

This tag supports all the global attributes described in − HTML Attribute Reference

Event Attributes

This tag supports all the event attributes described in − HTML Events Reference

Browser Support

Chrome Firefox IE Opera Safari Android
Yes Not Supported Yes Not Supported Yes Yes

html_tags_reference.htm

Advertisements
E-Books Store