aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/load_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/window/load_event/index.html')
-rw-r--r--files/fr/web/api/window/load_event/index.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/files/fr/web/api/window/load_event/index.html b/files/fr/web/api/window/load_event/index.html
index d418a89a96..9226d9630b 100644
--- a/files/fr/web/api/window/load_event/index.html
+++ b/files/fr/web/api/window/load_event/index.html
@@ -74,13 +74,11 @@ original_slug: Web/Events/load
<h2 id="Exemple">Exemple</h2>
-<div>
-<pre>&lt;script&gt;
+<pre class="brush: html">&lt;script&gt;
window.addEventListener("load", function(event) {
console.log("Toutes les ressources sont chargées !");
});
&lt;/script&gt;</pre>
-</div>
<h2 id="Évènements_liés">Évènements liés</h2>