diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
| commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
| tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/htmltableelement/caption | |
| parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
| download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip | |
convert content to md
Diffstat (limited to 'files/fr/web/api/htmltableelement/caption')
| -rw-r--r-- | files/fr/web/api/htmltableelement/caption/index.md | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/files/fr/web/api/htmltableelement/caption/index.md b/files/fr/web/api/htmltableelement/caption/index.md index b7c559b5a8..68308f7596 100644 --- a/files/fr/web/api/htmltableelement/caption/index.md +++ b/files/fr/web/api/htmltableelement/caption/index.md @@ -5,21 +5,27 @@ tags: - Référence_du_DOM_Gecko translation_of: Web/API/HTMLTableElement/caption --- -<p>{{ ApiRef() }}</p> -<h3 id="R.C3.A9sum.C3.A9">Résumé</h3> -<p><b>caption</b> renvoie la légende du tableau.</p> -<h3 id="Syntaxe">Syntaxe</h3> -<pre class="eval"><i>string</i> = table.caption -</pre> -<h3 id="Exemple">Exemple</h3> -<pre class="eval">if (table.caption) { - // On peut alors faire quelque chose avec la légende du tableau -} -</pre> -<h3 id="Notes">Notes</h3> -<p>Cette propriété ne renvoie rien s'il n'y a aucune légende pour le tableau.</p> -<h3 id="Sp.C3.A9cification">Spécification</h3> -<ul> - <li><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-14594520">DOM Level 2 HTML : caption</a> <small>(<a href="http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-14594520">traduction</a>)</small></li> - <li><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-12035137">Interface HTMLTableCaptionElement</a> <small>(<a href="http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-12035137">traduction</a>)</small></li> -</ul>
\ No newline at end of file +{{ ApiRef() }} + +### Résumé + +**caption** renvoie la légende du tableau. + +### Syntaxe + + string = table.caption + +### Exemple + + if (table.caption) { + // On peut alors faire quelque chose avec la légende du tableau + } + +### Notes + +Cette propriété ne renvoie rien s'il n'y a aucune légende pour le tableau. + +### Spécification + +- [DOM Level 2 HTML : caption](http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-14594520) ([traduction](http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-14594520)) +- [Interface HTMLTableCaptionElement](http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-12035137) ([traduction](http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-12035137)) |
