|
@@ -1,12 +1,26 @@
|
|
<!DOCTYPE html>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<html lang="en">
|
|
|
|
+
|
|
<head>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
<title>Document</title>
|
|
</head>
|
|
</head>
|
|
|
|
+
|
|
<body>
|
|
<body>
|
|
-
|
|
|
|
|
|
+ <div id="123">
|
|
|
|
+ 123
|
|
|
|
+ </div>
|
|
|
|
+ <script>
|
|
|
|
+ // var div1 = document.getElementById('123')
|
|
|
|
+ // div1.onclick = function (){
|
|
|
|
+ // console.log(123)
|
|
|
|
+ // }
|
|
|
|
+ // window.prompt('请输入年龄',18)
|
|
|
|
+ // document.write('<h2>hello javascript</h2>')
|
|
|
|
+ </script>
|
|
|
|
+ <!-- <script src="1.js"></script> -->
|
|
</body>
|
|
</body>
|
|
|
|
+
|
|
</html>
|
|
</html>
|