JS

首先给他一个初始化的h5页面
html:5 后回车
在html页面中引入JS代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=
, iitial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>.html
<body> ;body之间是新加的内容
<script>
alert('hello world')
</script>
</body>
</html>

posted @ 2019-08-06 16:52  nowstart  阅读(132)  评论(0)    收藏  举报