Home > Article > Development Tools > How to run an HTML project created by vscode
How to use VS Code to run an HTML project
Step 1: Create an HTML project
Step 2: Create the HTML file
Step 3: Write the HTML code
<code class="html"><!DOCTYPE html> <html> <head> <title>我的第一个 HTML 页面</title> </head> <body> <h1>欢迎来到我的第一个 HTML 页面!</h1> </body> </html></code>
Step 4: Run the HTML project
Ctrl
Shift
B
(Windows) or Cmd
Shift
B
(Mac). The above is the detailed content of How to run an HTML project created by vscode. For more information, please follow other related articles on the PHP Chinese website!