1,HTML,CSS不区分大小写,JS区分大小写,这个要牢记:如下面代码
<html>
<head>
<script type="text/javascript" >
function hello(){
alert("hello");
}
function Hello(){
alert("Hello");
}
</script>
</head>
<body>
<button οnclick="hello()"> 点击</button>
</body>
</html>
这个弹出的是“hello”,而不是“Hello”,在你使用Ctrl+F搜索时要注意,这个真的很坑。