1.安装插件于vscode



2.html标签

3.html的demo
html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>
先在服务器上安装Node.js
在conda环境下安装Node.js,然后用npm安装live-server。
在本地vscode上运行html文件,会有提示端口,然后打开就行。