编辑下面的代码:【加编码】
<html> <head> <script> function mymessage() { alert("消息在 onload 事件触发后弹出。"); } </script> </head> <body onload="mymessage()"> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂