--- title: slug: Web/HTML/Element/ruby tags: - Element - HTML - Reference - Ruby - Web translation_of: Web/HTML/Element/ruby --- {{HTMLRef}} L'élément HTML **``** représente une annotation ruby. Les annotations Ruby servent à afficher la prononciation des caractères d'Asie orientale. {{EmbedInteractiveExample("pages/tabbed/ruby.html", "tabbed-shorter")}} ## Attributs Cet élément inclut uniquement les [attributs globaux](/fr/docs/Web/HTML/Global_attributes). ## Exemples ### Annoter un caractère #### HTML ```html (Kan)(ji) ``` #### Résultat {{EmbedLiveSample("Annoter_un_caractère")}} ### Annoter un mot #### HTML ```html 明日 (Ashita) ``` #### Résultat {{EmbedLiveSample("Annoter_un_mot")}} ## Résumé technique
Catégories de contenu Contenu de flux, contenu de phrasé, contenu tangible.
Contenu autorisé Contenu de phrasé.
Omission de balises {{no_tag_omission}}
Parents autorisés Tout élément qui accepte du contenu de phrasé.
Rôles ARIA autorisés Tous les rôles sont autorisés.
Interface DOM {{domxref("HTMLElement")}}
## Spécifications | Spécification | État | Commentaires | | -------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------------ | | {{SpecName('HTML WHATWG', 'semantics.html#the-ruby-element', '<ruby>')}} | {{Spec2('HTML WHATWG')}} | | | {{SpecName('HTML5 W3C', 'text-level-semantics.html#the-ruby-element', '<ruby>')}} | {{Spec2('HTML5 W3C')}} | | ## Compatibilité des navigateurs {{Compat("html.elements.ruby")}} ## Voir aussi - {{HTMLElement("rt")}} - {{HTMLElement("rp")}} - {{HTMLElement("rb")}} - {{HTMLElement("rtc")}} - {{HTMLElement("rbc")}} - {{CSSXRef("text-transform", "text-transform: full-size-kana")}}