html tutorial - <rt> Tag in HTML - html5 - html code - html form
Learn html - html tutorial - rt tag in html - html examples - html programs
- <rt> tag is used to define the pronunciation of character in ruby annotations.
- <rt> tag is showing the pronunciation for East Asian characters.
- We can use the <rt> tag along with <ruby> tag and <rp> tag.
- <rt> tag supports Global Attributes and Event Attributes.
Syntax for <rt> tag:
<ruby>
<rt>content</rt>
</ruby>Difference between HTML 4.01 and HTML 5 for <rt> tag:
HTML 4.0.1
- HTML 4 does not support <rt> tag.
HTML 5
- <rt> tag is new in HTML 5.
Sample Coding for <rt> tag:
Tryit<!DOCTYPE html>
<html >
<head>
<title>Wikitechy rt tag</title>
</head>
<body>
<ruby>
漢<rt>kan</rt>字<rt>ji</rt>
</ruby>
</body>
</html>Code Explanation for <rt> tag:
- <ruby> tag is used to specify ruby annotation.
- <rt> tag used to describe the pronunciation information for the word.
Output for <rt> tag:
- The pronunciation shown above the text.
Browser Support for <rt> tag in HTML:
| |
||||
|---|---|---|---|---|
| 5.0 | 5.5 | 38.0 | 5.0 | 15.0 |