HTML 5 <rt> Tag
Example
A ruby annotation:
<ruby>
漢 <rt> ㄏㄢˋ </rt>
</ruby> |
View it » |
Definition and Usage
The <rt> tag defines an explanation or pronunciation of characters (Chinese notes or characters).
Used in East Asia, to show the pronunciation of East Asian characters.
Use together with the <ruby> and the <rp> tags:
The ruby element consists of one or more characters (that needs an
explanation/pronunciation), and a rt element that gives that information, and
optionally a rp element that defines what to show browsers that do not support the "ruby"
tag.
Differences Between HTML 4.01 and HTML 5
The <rt> tag is new in HTML 5.
Tips and Notes
Note: A browser that supports the "ruby" element will not show the
content of a "rp" element.
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|