Home >Development Tools >VSCode >How to open html file in vscode in browser
First install the open in browser plug-in;
Then right-click on the html code and you will see two more open options. Click on the option to open the browser. Preview.
(Recommended tutorial: vscode tutorial)
Open in Default Browsers: Use the default browser to open Shortcut key: alt b
Open in Other Browsers: Use other browsers to open Shortcut key: alt shift b
For more programming-related content, please pay attention to the Programming Introduction column on the php Chinese website!
The above is the detailed content of How to open html file in vscode in browser. For more information, please follow other related articles on the PHP Chinese website!