Visual Studio Code如何运行Html文件

时间:2024-10-12 03:37:49

1、首先打开Visual Studio Code,点击左侧扩展图标

Visual Studio Code如何运行Html文件

2、出现插件搜索框,在框中输入 open in browser,然后点击右下角绿色按钮进行安装

Visual Studio Code如何运行Html文件

3、在需要打开的Html页面上,右键选择Open in Default Browser(默认浏览器中打开)或者Open in Other Browsers (在其他浏览器中打开)

Visual Studio Code如何运行Html文件

4、浏览器自动打开,就可以看到Html页面效果了

Visual Studio Code如何运行Html文件
© 手抄报圈