where to put onload in javascript code example Example: javascript onload <body onload="myFunction()">