Idocs Guide to HTML
back to <BODY onLoad="...">

An Example of the ONLOAD Event Handler

This page has an example of the <BODY onLoad="..."> attribute. This is the body tag for this page:

<BODY onLoad="alert('hello world!')">

Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.