diff options
| author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-27 19:52:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 19:52:26 +0200 |
| commit | b57379257281efd293e51237969a8553a7c58ae7 (patch) | |
| tree | 37d1e1dee8f3ab8a5e4d953d121f80f647a94b5e /files/fr/web/api/document_object_model | |
| parent | f139538f3148990f7b61d94f75d96381985a0c0e (diff) | |
| download | translated-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')
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><head> +<pre class="brush: html"><head> <title>Code de démonstration - Explorer un tableau HTML avec des interfaces DOM et JavaScript</title> <script> 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> <html> +<pre class="brush: html"> <html> <head> <title>Mon Document</title> <script type="text/javascript"> |
