Loading...
HTML <ruby> Tag

HTML <ruby> Tag

In this tutorial, we will learn about ruby tag in HTML with the help of examples.


<ruby> Tag

Ruby tag <ruby> is used specifies ruby annotations.

Note : Ruby annotations are character that needs ans explanation/pronunciation.

Syntax

<ruby>.........</ruby>

Example

<!DOCTYPE html>
<html>
  <head>
    <title>Ruby Tag</title>
  </head>
  <body>
    <ruby>
      相信 <rp>(</rp><rt>Trust</rt><rp>)</rp>
    </ruby>
  </body>
</html>

Output

相信 (Trust)

Global Attribute

Ruby Tag support all the global attributes of HTML.


Event Attribute

Ruby Tag support all the event attributes of HTML.


Next Tutorial

We hope that this tutorial helped you develop better understanding of the concept of <ruby> tag in HTML.

Keep Learning : )

In the next tutorial, you'll learn about HTML <s> Tag.

- Related Topics