From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/html/element/ruby/index.html | 121 ++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 files/fr/web/html/element/ruby/index.html (limited to 'files/fr/web/html/element/ruby') diff --git a/files/fr/web/html/element/ruby/index.html b/files/fr/web/html/element/ruby/index.html new file mode 100644 index 0000000000..a799f2c938 --- /dev/null +++ b/files/fr/web/html/element/ruby/index.html @@ -0,0 +1,121 @@ +--- +title: +slug: Web/HTML/Element/ruby +tags: + - Element + - HTML + - Reference + - Ruby + - Web +translation_of: Web/HTML/Element/ruby +--- +
{{HTMLRef}}
+ +

L'élément HTML <ruby> 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.

+ +

Exemples

+ +

Annoter un caractère

+ +

HTML

+ +
<ruby>
+  漢 <rp>(</rp><rt>Kan</rt><rp>)</rp>
+  字 <rp>(</rp><rt>ji</rt><rp>)</rp>
+</ruby>
+ +

Résultat

+ +

{{EmbedLiveSample("Annoter_un_caractère")}}

+ +

Annoter un mot

+ +

HTML

+ +
<ruby>
+  明日 <rp>(</rp><rt>Ashita</rt><rp>)</rp>
+</ruby>
+ +

Résultat

+ +

{{EmbedLiveSample("Annoter_un_mot")}}

+ +

Résumé technique

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Catégories de contenuContenu de flux, contenu de phrasé, contenu tangible.
Contenu autoriséContenu de phrasé.
Omission de balises{{no_tag_omission}}
Parents autorisésTout élément qui accepte du contenu de phrasé.
Rôles ARIA autorisésTous les rôles sont autorisés.
Interface DOM{{domxref("HTMLElement")}}
+ +

Spécifications

+ + + + + + + + + + + + + + + + + + + + + +
SpécificationÉtatCommentaires
{{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

+ + -- cgit v1.2.3-54-g00ecf