73
HTML <rt> tag
HTML <rt> tag provides translation, pronunciations, or transliteration information for the east Asian characters present in ruby language annotation.
The <rt> tag must be enclosed within <ruby> and <rp> (optional) element.
The <rt> tag is new in HTML5.
Syntax
Following are some specifications about the HTML <rt> tag
Display | Inline |
Start tag/End tag | Both Start and End tag |
Usage | Formatting |
Example
Output:
Attribute:
Tag-specific attributes:
The <rt> tag does not contain any specific attribute.
Global attribute:
The <rt> tag supports the global attributes in HTML
Event attribute:
The <rt> tag supports the event attributes in HTML.
Supporting Browsers
Element | Chrome | IE | Firefox | Opera | Safari |
<rt> | Yes | Yes | Yes | Yes | Yes |
Next TopicHTML ruby Tag