1 2 3 4 5 6 7 8 9 10
<html> <head> <title>alert based onload (from body) example</title> </head> <body onload="alert('Running onload')"> <h1>Just look at the log</h1> </body> </html>