aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/htmltableelement
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-26 13:11:47 +0200
committerGitHub <noreply@github.com>2021-09-26 13:11:47 +0200
commit6772831200d14c2436aea2d0c837f40dbf12156f (patch)
treee41b587ce1834baf8c737454c0ae110ebc8208ca /files/fr/web/api/htmltableelement
parent707941dbecfb0cc1e75dd32d2dacac4d1845bf2c (diff)
downloadtranslated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.gz
translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.bz2
translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.zip
Prepare Web API section for Markdown conversion (#2464)
* Remove summary classes and ids * Remove unecessary hidden * Remove useless span filled with useless attributes / ids * Remove useless font * Remove notranslate * Remove id in other elements than headings * Remove name attributes * Remove <pre><code> for JS w/ language-js class * Remove <pre><code> for HTML w/ language-html class * Remove <pre><code> for other lang w/ language-* class * Rm highlighted line in code samples * fix links, internal, external, absolute URLs * missing file from last commit * Fix styles errors apart from table + some classes * Fix notes and warnings (+ some other :x) * fix typo during merge which broke a doc * aand forgot a conflict * fix remaining classes of errors except dls and images * Fix dls * Fix images (deki/mozillademos) and remaining style issues * Remove script tag from svg file * Remove script tag from svg fileS * Compress SVG files for CI
Diffstat (limited to 'files/fr/web/api/htmltableelement')
-rw-r--r--files/fr/web/api/htmltableelement/caption/index.html14
-rw-r--r--files/fr/web/api/htmltableelement/index.html8
-rw-r--r--files/fr/web/api/htmltableelement/insertrow/index.html10
3 files changed, 16 insertions, 16 deletions
diff --git a/files/fr/web/api/htmltableelement/caption/index.html b/files/fr/web/api/htmltableelement/caption/index.html
index a3d9226edd..2c92407bea 100644
--- a/files/fr/web/api/htmltableelement/caption/index.html
+++ b/files/fr/web/api/htmltableelement/caption/index.html
@@ -6,21 +6,21 @@ tags:
translation_of: Web/API/HTMLTableElement/caption
---
<p>{{ ApiRef() }}</p>
-<h3 id="R.C3.A9sum.C3.A9" name="R.C3.A9sum.C3.A9">Résumé</h3>
+<h3 id="R.C3.A9sum.C3.A9">Résumé</h3>
<p><b>caption</b> renvoie la légende du tableau.</p>
-<h3 id="Syntaxe" name="Syntaxe">Syntaxe</h3>
+<h3 id="Syntaxe">Syntaxe</h3>
<pre class="eval"><i>string</i> = table.caption
</pre>
-<h3 id="Exemple" name="Exemple">Exemple</h3>
+<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" name="Notes">Notes</h3>
+<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" name="Sp.C3.A9cification">Spécification</h3>
+<h3 id="Sp.C3.A9cification">Spécification</h3>
<ul>
- <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-14594520">DOM Level 2 HTML : caption</a> <small>(<a class="external" href="http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-14594520">traduction</a>)</small></li>
- <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-12035137">Interface HTMLTableCaptionElement</a> <small>(<a class="external" href="http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-12035137">traduction</a>)</small></li>
+ <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>
<p>{{ languages( { "en": "en/DOM/table.caption", "pl": "pl/DOM/table.caption" } ) }}</p>
diff --git a/files/fr/web/api/htmltableelement/index.html b/files/fr/web/api/htmltableelement/index.html
index ab997c53a9..e14d2f1f47 100644
--- a/files/fr/web/api/htmltableelement/index.html
+++ b/files/fr/web/api/htmltableelement/index.html
@@ -7,9 +7,9 @@ translation_of: Web/API/HTMLTableElement
---
<div>
{{ ApiRef() }}</div>
-<h2 id="Interface_de_l.27.C3.A9l.C3.A9ment_HTML_Table" name="Interface_de_l.27.C3.A9l.C3.A9ment_HTML_Table">Interface de l'élément HTML Table</h2>
-<p>Les objets <code>table</code> exposent l'interface <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-64060425"><code>HTMLTableElement</code></a> <small>(<a class="external" href="http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-64060425">traduction</a>)</small>, qui fournit des propriétés et méthodes spécialisées (outre l'interface des objets <a href="/fr/docs/DOM/element">element</a> qu'ils acquièrent également par héritage) pour manipuler la disposition et la présentation des tableaux en HTML.</p>
-<h2 id="Propri.C3.A9t.C3.A9s" name="Propri.C3.A9t.C3.A9s">Propriétés</h2>
+<h2 id="Interface_de_l.27.C3.A9l.C3.A9ment_HTML_Table">Interface de l'élément HTML Table</h2>
+<p>Les objets <code>table</code> exposent l'interface <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-64060425"><code>HTMLTableElement</code></a> <small>(<a href="http://www.yoyodesign.org/doc/w3c/dom2-html/html.html#ID-64060425">traduction</a>)</small>, qui fournit des propriétés et méthodes spécialisées (outre l'interface des objets <a href="/fr/docs/DOM/element">element</a> qu'ils acquièrent également par héritage) pour manipuler la disposition et la présentation des tableaux en HTML.</p>
+<h2 id="Propri.C3.A9t.C3.A9s">Propriétés</h2>
<dl>
<dt>
<a href="/fr/docs/DOM/table.caption">table.caption</a></dt>
@@ -73,7 +73,7 @@ translation_of: Web/API/HTMLTableElement
<dd>
<b>width</b> obtient ou définit la largeur du tableau.</dd>
</dl>
-<h2 id="M.C3.A9thodes" name="M.C3.A9thodes">Méthodes</h2>
+<h2 id="M.C3.A9thodes">Méthodes</h2>
<dl>
<dt>
<a href="/fr/docs/DOM/table.createTHead">table.createTHead</a></dt>
diff --git a/files/fr/web/api/htmltableelement/insertrow/index.html b/files/fr/web/api/htmltableelement/insertrow/index.html
index e469cb6679..f07140adda 100644
--- a/files/fr/web/api/htmltableelement/insertrow/index.html
+++ b/files/fr/web/api/htmltableelement/insertrow/index.html
@@ -16,20 +16,20 @@ translation_of: Web/API/HTMLTableElement/insertRow
<p>La méthode <strong><code>HTMLTableElement.insertRow()</code></strong> insère une nouvelle ligne dans la table et retourne une référence à la nouvelle ligne.</p>
</div>
-<h2 id="Syntax" name="Syntax">Syntaxe</h2>
+<h2 id="Syntax">Syntaxe</h2>
<pre class="syntaxbox">var <em>ligne</em> = <em>HTMLTableElement</em>.insertRow(<em>optionnel indice = -1</em>);</pre>
<ul>
- <li><a href="/en-US/docs/DOM/HTMLTableElement" title="DOM/HTMLTableElement"><code>HTMLTableElement</code></a> est une référence à un élément table HTML.</li>
+ <li><a href="/en-US/docs/DOM/HTMLTableElement"><code>HTMLTableElement</code></a> est une référence à un élément table HTML.</li>
<li><code>indice</code> est l'indice de ligne de la nouvelle ligne.</li>
- <li><code>ligne</code> reçoit la référence à la nouvelle ligne. Une référence à un <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement">HTMLTableRowElement</a>. Si l'indice est -1 ou est égal au nombre de lignes, la ligne est ajoutée comme dernière ligne. Si <code>indice</code> est plus grand que le nombre de lignes, une exception IndexSizeError sera générée. Si indice est omis, sa  valeur sera -1 par défaut.</li>
+ <li><code>ligne</code> reçoit la référence à la nouvelle ligne. Une référence à un <a href="/en-US/docs/Web/API/HTMLTableRowElement">HTMLTableRowElement</a>. Si l'indice est -1 ou est égal au nombre de lignes, la ligne est ajoutée comme dernière ligne. Si <code>indice</code> est plus grand que le nombre de lignes, une exception IndexSizeError sera générée. Si indice est omis, sa  valeur sera -1 par défaut.</li>
<li>Si une table a plusieurs éléments <code>tbody</code>, par défaut, la nouvelle ligne est ajoutée dans le dernier <code>tbody</code>. Pour insérer la ligne dans un <code>tbody</code> particulier :<br>
<code>var <em>tbody_particulier</em></code><code>=document.getElementById(<em>id_tbody</em>);<br>
var <em>ligne</em>=tbody_particulier.</code><code>insertRow(<em>indice</em>)</code></li>
</ul>
-<h2 id="Example" name="Example">Exemple</h2>
+<h2 id="Example">Exemple</h2>
<pre class="brush:html">&lt;table id="TableA"&gt;
&lt;tr&gt;
@@ -60,7 +60,7 @@ ajouteLigne('TableA');
<p>Pour être valide dans un document HTML, un élément TR doit avoir au moins un élément TD.</p>
-<p>Remarquez que <code>insertRow</code> insère directement la ligne dans la table et renvoie une référence à la nouvelle ligne. La ligne n'a pas besoin d'être ajoutée séparement comme cela aurait été le cas si <code><a href="/en-US/docs/DOM/document.createElement" title="DOM/document.createElement">document.createElement()</a></code> avait été utilisé pour créer un nouvel élement TR.</p>
+<p>Remarquez que <code>insertRow</code> insère directement la ligne dans la table et renvoie une référence à la nouvelle ligne. La ligne n'a pas besoin d'être ajoutée séparement comme cela aurait été le cas si <code><a href="/en-US/docs/DOM/document.createElement">document.createElement()</a></code> avait été utilisé pour créer un nouvel élement TR.</p>
<h2 id="Spécifications">Spécifications</h2>