aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/document_object_model
diff options
context:
space:
mode:
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;