windows onload javascript w3schools code example Example: javascript onload <body onload="myFunction()">