<ruby>
Resum
L'Element HTML <ruby>
representa una notació ruby. Les notacions Ruby s'utilitzen per mostrar la pronunciació de caràcters asiàtics.
- Categories de contingut Flow content, phrasing content, contingut palpable.
- Contingut permès Phrasing content.
- Omissió d'etiquetes Cap, tant l'etiqueta inicial com l’etiqueta final són obligatòries
- Elements pares permessos See prose
- Interfície DOM
HTMLElement
(en-US)
Atributs
Aquest element només inclou els atributs globals.
Exemples
Exemple 1: Caràcter
<ruby>
漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
字 <rp>(</rp><rt>ji</rt><rp>)</rp>
</ruby>
Exemple 2: Word
<ruby>
明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp>
</ruby>
Especificacions
Especificació | Estat | Comentaris |
---|---|---|
HTML Living Standard The definition of '<ruby>' in that specification. |
Living Standard | |
HTML5 The definition of '<ruby>' in that specification. |
Recommendation |
Compatiblitat amb navegadors
We're converting our compatibility data into a machine-readable JSON format.
This compatibility table still uses the old format,
because we haven't yet converted the data it contains.
Find out how you can help! (en-US)
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 5.0 | 38 (38) | 5.0 | No support | 5.0 |
Feature | Android | Chrome per Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | (Yes) | (Yes) | 38.0 (38) | (Yes) | (Yes) | (Yes) |