From a47584de1bd47788cb5aa6178fa88b31977b2a8e Mon Sep 17 00:00:00 2001 From: tristantheb Date: Sat, 19 Jun 2021 10:25:05 +0200 Subject: UPDATE: Update translation of the HTML elements — 🛠 Priority work area (#500) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * UPDATE: Updating pages starting with A * FIX: Update missing KS to html anchor * Review HTML Element a * Review HTML Element abbr * Review HTML Element acronym * Review HTML Element address * Review HTML Element applet * Review HTML Element area * Review HTML Element article * Review HTML Element aside * Review HTML Element audio * UPDATE: Updating pages wtarting with B * Review HTML Element b * Review HTML Element base * Review HTML Element basefont * Review HTML Element bdi * Review HTML Element bdo * Review HTML Element big * Review HTML Element blink * Review HTML Element blockquote * Review HTML Element body * Review HTML Element br * Review HTML Element button * Review HTML Element button - rm HTMLRef * Review HTML Element button - lint link * UPDATE: Updating pages starting with C * UPDATE: Updating pages starting with D * UPDATE: Refresh the reference page * UPDATE: Updating pages starting with E * Review HTML Element canvas * Review HTML Element caption * Review HTML Element center * Review HTML Element cite * UPDATE: Updating pages starting with F * BCD: Update all updated pages with new BCD format * FIX: add missing bracket * Review - HTML element - code * Review - HTML Element - col * Review - HTML Element - colgroup * Review - HTML Element - content * Review - HTML Element - data * Review - HTML Element - datalist * Review - HTML Element - dd * Review - HTML Element - del * Review - HTML Element * Review - HTML Element - dfn * Review - HTML Element - dialog * Review - HTML element - dir * Review - HTML Element div * Review - HTML Element - dl * Review - HTML Element - dt * Review - HTML Element - em * Review - HTML Element - embed * Review - HTML Element - fieldset * Review - HTML Element - figcaption * Review - HTML Element - figure * Review - HTML Element - font * Review - HTML Element - footer * Review - HTML Element - form * Review - HTML Element - frame * Review - HTML Element - frameset * Review updates since PR start - A * Review updates since PR start - B * Review updates since PR start - C * Review updates since PR start - D * Review updates since PR start - F Co-authored-by: julieng --- files/fr/web/html/element/figcaption/index.html | 127 +++++++++--------------- 1 file changed, 45 insertions(+), 82 deletions(-) (limited to 'files/fr/web/html/element/figcaption') diff --git a/files/fr/web/html/element/figcaption/index.html b/files/fr/web/html/element/figcaption/index.html index d03cbf7e74..d7e245b9ed 100644 --- a/files/fr/web/html/element/figcaption/index.html +++ b/files/fr/web/html/element/figcaption/index.html @@ -4,105 +4,68 @@ slug: Web/HTML/Element/figcaption tags: - Element - HTML + - HTML grouping content - Reference - - Web translation_of: Web/HTML/Element/figcaption +browser-compat: html.elements.figcaption ---
{{HTMLRef}}
-

L'élément HTML <figcaption> (pour figure caption en anglais) permet d'indiquer un sous-titre, une légende, associé à une figure ou à une illustration (cette dernière étant représentée par l'élément {{HTMLElement("figure")}} qui est le parent direct de la légende). L'élément <figcaption> est optionnel ; s'il n'est pas présent, la figure n'aura pas de légende.

+

L'élément HTML <figcaption> représente une légende décrivant le reste du contenu de son élément parent <figure>.

{{EmbedInteractiveExample("pages/tabbed/figcaption.html","tabbed-shorter")}}
- - -

Attributs

- -

Cet élément prend uniquement en charge les attributs universels.

- -

Exemples

- -

HTML

- -
<!-- Une image avec une légende : figcaption -->
-<figure>
-  <img src="https://developer.mozilla.org/static/img/favicon144.png" alt="Une superbe photo">
-
-  <figcaption>Une légende pour cette photo</figcaption>
-</figure>
-
- -

Résultat

- -

{{EmbedLiveSample("Exemples","100%","120")}}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Catégories de contenuAucune.
Contenu autoriséContenu de flux.
Omission de balisesAucune, la balise d'ouverture et la balise de fermeture sont obligatoires
Parents autorisésUn élément <figure>, l'élément <figcaption> doit être le premier ou le dernier élément fils pour cet élément <figure>.
Rôle ARIA implicitePas de rôle correspondant
Rôles ARIA autorisésgroup, none, presentation
Interface DOMHTMLElement
-
-

Note : Voir la page sur l'élément {{HTMLElement("figure") }} pour d'autres exemples portant sur <figcaption>.

-
+

Attributs

-

Résumé technique

+

Cet élément prend uniquement en charge les attributs universels.

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Catégories de contenuAucune.
Contenu autoriséContenu de flux.
Tag omission{{no_tag_omission}}
Parents autorisésUn élément {{HTMLElement("figure")}}, l'élément <figcaption> doit être le premier ou le dernier élément fils pour cet élément <figure>.
Rôles ARIA autorisés{{ARIARole("group")}}, {{ARIARole("presentation")}}
Interface DOM{{domxref("HTMLElement")}}
+

Exemple

-

Spécifications

+

Veuillez consulter la page <figure> pour des exemples sur <figcaption>.

- - - - - - - - - - - - - - - - - - - - -
SpécificationÉtatCommentaires
{{SpecName('HTML WHATWG', 'semantics.html#the-figcaption-element', '<figcaption>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'grouping-content.html#the-figcaption-element', '<figcaption>')}}{{Spec2('HTML5 W3C')}}
+

Spécifications

-

Compatibilité des navigateurs

+

{{Specifications}}

- +

Compatibilité des navigateurs

-

{{Compat("html.elements.figcaption")}}

+

{{Compat}}

-

Voir aussi

+

Voir aussi

-- cgit v1.2.3-54-g00ecf