Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of compiling and running html File by vscode

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the method of vscode compiling and running html files, which is very detailed and has certain reference value. Friends who are interested must finish reading it.

First open our VS Code software, and then create a new HTML file. Note that if you create a new file in the VS Code software, its suffix name must also be written down.

At this time, after we finished writing the HTML content, we right-click and found that there was no button to run the HTML file.

We need to click "extend" on the left side of the VS Code software, or press and hold the Ctrl+shift+ I key on the keyboard at the same time to enter the "extension" interface.

After entering the "extension" interface, we type "open" in the search box, then find "open in browser", and click "install" in the lower right corner to install.

After installation, we can run our HTML file. After the installation is complete, we return to our HTML interface, then right-click and find the options identified in the following figure to run

We can also directly hold down the Alt+ B key on the keyboard to run, and then we can see that our HTML file has been run on the web page.

The above is all the contents of this article "how to compile and run html files in vscode". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report