Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body onload="myFunction()">
<h1>HTML DOM Events</h1>
<h2>The onload Event</h2>
<script>
function myFunction() {
  alert("Page is loaded");
}
</script>
</body>
</html>