W3School TIY
编辑您的代码:
<html> <head> </head> <body> <script type="text/javascript"> document.write("该消息在页面加载时输出。") </script> </body> </html>
查看结果: