源代码:
下载代码
AI 编程工具
点击运行
<!DOCTYPE html> <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>
运行结果: