aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/document_object_model
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-27 19:52:26 +0200
committerGitHub <noreply@github.com>2021-09-27 19:52:26 +0200
commitb57379257281efd293e51237969a8553a7c58ae7 (patch)
tree37d1e1dee8f3ab8a5e4d953d121f80f647a94b5e /files/fr/web/api/document_object_model
parentf139538f3148990f7b61d94f75d96381985a0c0e (diff)
downloadtranslated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.gz
translated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.bz2
translated-content-b57379257281efd293e51237969a8553a7c58ae7.zip
Fix web api fr upstream h2m (#2597)
* fix html examples with script * remove languages macro * enclose code words in <code> to avoid dot escape
Diffstat (limited to 'files/fr/web/api/document_object_model')
-rw-r--r--files/fr/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.html2
-rw-r--r--files/fr/web/api/document_object_model/using_the_w3c_dom_level_1_core/example/index.html3
2 files changed, 2 insertions, 3 deletions
diff --git a/files/fr/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.html b/files/fr/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.html
index e21ba347fa..cc245fd99b 100644
--- a/files/fr/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.html
+++ b/files/fr/web/api/document_object_model/traversing_an_html_table_with_javascript_and_dom_interfaces/index.html
@@ -238,7 +238,7 @@ body.appendChild(nouveauNoeudBALISEP);
<p><strong>Note :</strong> Il y a une ligne de code supplémentaire à la fin de la fonction <code>start()</code>, qui définit la propriété bordure du tableau en employant la méthode <code>setAttribute</code>. <code>setAttribute</code> utilise deux arguments : le nom de l'attribut et sa valeur, et permet de définir n'importe quelle propriété de n'importe quel élément.</p>
</div>
-<pre>&lt;head&gt;
+<pre class="brush: html">&lt;head&gt;
&lt;title&gt;Code de démonstration - Explorer un tableau HTML avec des interfaces DOM et JavaScript&lt;/title&gt;
&lt;script&gt;
function start() {
diff --git a/files/fr/web/api/document_object_model/using_the_w3c_dom_level_1_core/example/index.html b/files/fr/web/api/document_object_model/using_the_w3c_dom_level_1_core/example/index.html
index 7fc0a61f17..e4298a2055 100644
--- a/files/fr/web/api/document_object_model/using_the_w3c_dom_level_1_core/example/index.html
+++ b/files/fr/web/api/document_object_model/using_the_w3c_dom_level_1_core/example/index.html
@@ -9,9 +9,8 @@ tags:
translation_of: Web/API/Document_object_model/Using_the_W3C_DOM_Level_1_Core/Example
original_slug: Web/API/Document_object_model/Utilisation_du_DOM_Level_1_Core_du_W3C/Exemple
---
-<p> </p>
-<pre> &lt;html&gt;
+<pre class="brush: html"> &lt;html&gt;
&lt;head&gt;
&lt;title&gt;Mon Document&lt;/title&gt;
&lt;script type="text/javascript"&gt;