0% found this document useful (0 votes)
51 views1 page

Onload HTML

The document is an HTML page with JavaScript that displays an alert pop-up and heading when loaded. The page contains a script to run a function on load that displays an alert, and a heading is included in the body.

Uploaded by

Rutuja Pote
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views1 page

Onload HTML

The document is an HTML page with JavaScript that displays an alert pop-up and heading when loaded. The page contains a script to run a function on load that displays an alert, and a heading is included in the body.

Uploaded by

Rutuja Pote
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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