码迷,mamicode.com
首页 > 编程语言 > 详细

java script入门之知识

时间:2015-08-14 18:59:24      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:

1、注释

/*              */

多行

//单行

2、常见形式

<!DOCTYPE html>
<html>
<head>
<title>My JavaScript page</title>
<script src="script04.js"></script>
</head>
<body>
<noscript>
<h2>This page requires JavaScript.</h2>
</noscript>
</body>
</html>

然后script04.js中:

fuction nn(){

alert("xxxxxx");

}

java script入门之知识

标签:

原文地址:http://www.cnblogs.com/CooderIsCool/p/4730693.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!