Please note, this is a STATIC archive of website from 10 Sep 2022, does not collect or store any user information, there is no "phishing" involved.

HTML5 <rt> Tag

Topic: HTML5 Tags ReferencePrev|Next


The <rt> element is used within a <ruby> to define the pronunciation of character presented in a ruby annotations. This element is primarily used for showing pronunciation of characters in languages, like Chinese and Japanese Chinese.

The following table summarizes the usages context and the version history of this tag.

Placement: Inline
Content: Inline, and text
Start/End Tag: Start tag: required, End tag: required
Version: New in HTML5


The basic syntax of the <rt> tag is given with:

HTML / XHTML: <rt> ... </rt>

The example below shows the <rt> tag in action.

    漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
    字 <rp>(</rp><rt>ji</rt><rp>)</rp>

Tag-Specific Attributes

The <rt> tag doesn't have any specific attribute.

Global Attributes

Like all other HTML tags, the <rt> tag supports the global attributes in HTML5.

Event Attributes

The <rt> tag also supports the event attributes in HTML5.

Browser Compatibility

The <rt> tag is supported in all major modern browsers.

Browsers Icon

Basic Support—

  • Firefox ×
  • Google Chrome 5+
  • Internet Explorer 5.5+
  • Apple Safari 5+
  • Opera 15+

Further Reading

See tutorial on: HTML Text Formatting.

Related tags: <ruby>, <rp>.

Bootstrap UI Design Templates