You are on page 1of 1

<html>

<head>

<script type="text/javascript">

functionmyFunction()

alert("Page is loaded");

</script>

</head>

<body onload="myFunction()">

<h2>Hello World!</h2>

</body>

</html>

You might also like