: The RUBY Element
Last updated: 2026-09-12
<ruby>The RUBY Element
Adds pronunciation/annotation (pinyin, kana) to East-Asian text; the note is given by rt, optionally wrapped by rp.
| Category | Text Content |
|---|---|
| Content Model | Flow content |
| Allowed Parents | Any element that accepts flow content |
| Content Tag | Yes — requires closing </ruby> tag |
| Status | Standard |
📝 Syntax
<ruby>漢<rt>かん</rt></ruby>
▶ Example
Edit the code below and see the live result in the playground:
🌐 Browser Support
| Browser | |||||
|---|---|---|---|---|---|
| <ruby> | ✓ v1 | ✓ v12 | ✓ v1 | ✓ v1 | ✓ v1 |
| Supported in all major browsers | |||||
Tip: ruby is natively supported for annotations; unsupported browsers ignore rt.
🏷️ Related Tags
💡 Related Cases
More case studies coming soon — check back later.