Explanation
The <ruby>
tag is used to indicate a ruby annotation. The <rt>
tag must be used within the <ruby>
tag to define the pronunciation of the ruby text.
Use
The <rt>
tag is only used within a <ruby>
tag and is used to specify the pronunciation of the ruby text that follows it.
Important Points
- The
<rt>
tag must be a child element of the tag.
- The
<ruby>
tag and <rt>
tag are not widely supported by all browsers, so it is important to test the output in different browsers.
- The
<ruby>
tag is not recommended for use in English documents.
Summary
The<rt>
tag is used to specify the pronunciation of ruby text. The <rt>
tag must be used within a <ruby>
tag, which is used to provide a pronunciation guide for characters that might not be familiar to the reader, for example Chinese or Japanese characters. Though not widely supported across browsers, the