For those who do not know how to use vscode, search the tutorial, take a look at the documentation, and you will be able to operate.

1: Install the plug-in

view in browser
Copy the code

2: After the installation is complete, go back to your HTML file interface and find the HTML file to run

3: Select the file, right click the mouse, and click View in Browser

4: At this time, THE HTML file will be run, and the default browser will pop up to display the HTML file effect