aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web
diff options
context:
space:
mode:
authorAlexandre Capt <acapt@adobe.com>2021-03-10 11:07:45 +0100
committerGitHub <noreply@github.com>2021-03-10 11:07:45 +0100
commitc150e9e82b60f25875771d8e3a237cdb07802732 (patch)
tree0b563f7617e3675c003982f069a2b49f9035c741 /files/fr/web
parent1adf6b7aa0d207652f01fd30c5ac111eb2f65a40 (diff)
downloadtranslated-content-c150e9e82b60f25875771d8e3a237cdb07802732.tar.gz
translated-content-c150e9e82b60f25875771d8e3a237cdb07802732.tar.bz2
translated-content-c150e9e82b60f25875771d8e3a237cdb07802732.zip
Fix typo in sample result
Diffstat (limited to 'files/fr/web')
-rw-r--r--files/fr/web/api/childnode/after/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/api/childnode/after/index.html b/files/fr/web/api/childnode/after/index.html
index 60fc5d339d..474d64a307 100644
--- a/files/fr/web/api/childnode/after/index.html
+++ b/files/fr/web/api/childnode/after/index.html
@@ -56,7 +56,7 @@ parent.appendChild(child);
child.after("Text");
console.log(parent.outerHTML);
-// "&lt;div&gt;&lt;p&gt;&lt;/p&gt;Texte&lt;/div&gt;"</pre>
+// "&lt;div&gt;&lt;p&gt;&lt;/p&gt;Text&lt;/div&gt;"</pre>
<h3 id="Insertion_d'un_élément_et_de_texte">Insertion d'un élément et de  texte</h3>
@@ -68,7 +68,7 @@ var span = document.createElement("span");
child.after(span, "Text");
console.log(parent.outerHTML);
-// "&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;span&gt;&lt;/span&gt;Texte&lt;/div&gt;"</pre>
+// "&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;span&gt;&lt;/span&gt;Text&lt;/div&gt;"</pre>
<h3 id="ChildNode.after()_n'est_pas_accessible"><code>ChildNode.after()</code> n'est pas accessible</h3>