编辑下面的代码:【加编码】
<html> <head> <script type="text/vbscript"> function myFunction() alert("Hello World!") end function </script> </head> <body onload="myFunction()"> <p>We usually use the head section for functions (to be sure that the functions are loaded before they are called).</p> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂