HTML <rt> Tag

Description

The <rt> HTML element adds an annotation above or below the text enclosed in the <ruby> container. The annotation itself is displayed in a smaller font.
This form of recording is mainly used for Asian languages ​​like Chinese or Japanese, but can also be used for other languages ​​if you want to write one text over another.

Properties

Permitted Parents
A <ruby> element
Content
Inline and text
Start/End Tags
Start tag: required, End tag: required

Example

<ruby>
漢 <rt><rp>(</rp>ㄏㄢˋ<rp>)</rp></rt>
</ruby>

Attributes

None

Global Attributes

The <rt> tag also supports the Global Attributes in HTML5

Event Attributes

The <rt> tag also supports the Event Attributes in HTML5

Browser Support

The following table will show you the current browser support for the HTML <rt> tag.

Desktop
Edge Chrome Firefox Opera Safari
79538155
Tablets / Mobile
Chrome Firefox Opera Safari Samsung Webview
1838144.214.4

Last updated by CSSPortal on: 30th September 2023