Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html
communitycreator

What is the <rt> element in HTML?

Arslan Bajwa

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

In HTML, the <rt> element is used to specify the pronunciation or translation of the ruby annotation.

The <ruby> element consists of one or more characters that need an explanation that is provided by the <rt> element.

Syntax

<ruby>
symbol<rp>(</rp><rt>annotation</rt><rp>)</rp>
</ruby>

The <rt> element must always be contained within a <ruby> element.

Code

The following code demonstrates the usage of the <rt> element in HTML. The content that we want to display as ruby annotations is written within the opening and closing tags (<rt> and </rt>).

  • HTML

RELATED TAGS

html
communitycreator

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring