Home > Development Tools > VSCode > How to write a web page using vscode

How to write a web page using vscode

王林
Release: 2020-02-10 16:50:01
Original
15172 people have browsed it

How to write a web page using vscode

1. Create a new file (Ctrl N)

The newly created file Untitled-1 is in plain text format and needs to be changed to HTML format.

How to write a web page using vscode

#2. Quickly generate standard html code

(1) Enter in the first line!

(2) Press the Tab key or select in the code prompt!

How to write a web page using vscode

How to write a web page using vscode

3. View the HTML page in the browser

Visual Studio Code is under the VScode console by default Viewing the html page is very inconvenient for us to debug and view the effect. So here we need to install an extension to view the html page in the browser.

How to write a web page using vscode

After the installation is complete, select the HTML page you want to open in the browser, and press the shortcut key Alt B to open the page you wrote in the default browser.

Related recommendations: vscode tutorial

The above is the detailed content of How to write a web page using vscode. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template