js

<html><head lang="en">
    <meta charset="UTF-8">
    <title>输出helloWorld</title>
    <script>
        // 弹框,可用于阻塞操作
       alert('hello world');
        // 用于调试
       console.log('hello world!');
       console.log('hello world!');


    </script>
</head>
<body>


<!--开发中经常将JS放到body的最后面-->
<!--<script>// ... </script>-->

</body></html>

 

 
posted @ 2015-08-01 12:03  Emyin  阅读(171)  评论(0编辑  收藏  举报