多行注释:alt+shift+a
单行注释:ctrl+/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=, initial-scale=1.0">
<title>测试网页</title>
<script>
alert("hello world")
// 单行注释 调动浏览器自带的弹出hello world
/*
document.write("hello world")
输出内容到网页hello world
console.log("hello world")
控制台输出hello world
多行注释
*/
</script>
</head>
<body>
<div>hello world11111</div>
</body>
</html>