diff options
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"> |