<html>
<head>
<title>alert based onload (from body) example</title>

</head>

<body onload="alert('Running onload')">
<h1>Just look at the log</h1>
<noscript><p>Javascript is disabled</p></noscript>
</body>
</html>