< All the HTML Tags >

<rt></rt>

Video Coming Soon...

  • rt

    Tag Type

    inline

    Tag Category

    text formatting

    Provides pronunciation or meaning for ruby characters.

    Viewed

    1

    Examples

    1

Definition:

The HTML <rt> tag is utilized within a <ruby> annotation to specify the ruby text, which provides phonetic guidance or translation for the base text enclosed in the <rb> tag.

This element is crucial for languages like Japanese, where kanji characters can have multiple readings. The <rt> tag allows developers to present the pronunciation of these characters directly above or beside the base text, improving comprehension for readers.

When rendered in a browser that supports ruby annotations, the text within the `<rt>` tag is typically displayed in a smaller font, positioned above the base text. This visual distinction aids in readability, making it easier for users to understand the pronunciation or meaning of complex characters. Utilizing the `<rt>` tag enhances the overall accessibility and usability of web content, particularly for East Asian languages.

Attributes:

Global attributes (e.g., class, id, style)

Accessibility:

Coming Soon…

Default rt Example:

Ruby annotation
<ruby>漢 <rt>hàn</rt></ruby>

Default rt Result:


Coming Soon…

Community Examples:

Coming Soon…
Coming Soon…