From b57379257281efd293e51237969a8553a7c58ae7 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 27 Sep 2021 19:52:26 +0200 Subject: Fix web api fr upstream h2m (#2597) * fix html examples with script * remove languages macro * enclose code words in to avoid dot escape --- .../index.html | 2 +- .../using_the_w3c_dom_level_1_core/example/index.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'files/fr/web/api/document_object_model') 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);

Note : Il y a une ligne de code supplémentaire à la fin de la fonction start(), qui définit la propriété bordure du tableau en employant la méthode setAttribute. setAttribute 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.

-
<head>
+
<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
 ---
-

 

-
 <html>
+
 <html>
  <head>
    <title>Mon Document</title>
    <script type="text/javascript">
-- 
cgit v1.2.3-54-g00ecf