Home >Web Front-end >HTML Tutorial >How to create html file

How to create html file

醉折花枝作酒筹
醉折花枝作酒筹Original
2021-04-14 18:36:1818825browse

Method: First create a new Notepad file on the desktop and open it; then enter the HTML statement and content in the file; then click "File" - "Save As" in the upper left corner, and select in "Save Type" "All files"; finally change the file name to the format of "XXXX.html", select the save address, and click "Save".

How to create html file

The operating environment of this tutorial: Windows7 system, CSS3&&HTML5 version, Dell G3 computer.

First, create a new Notepad file on your computer desktop, and then open it.

How to create html file

How to create html file

How to create html file

##Next, enter the HTML language in it, remember the first paragraph Add to a line. The indentation is based on a "tab key". Add basic tags such as and enter them inside. Just the content.

How to create html file

After completing the input, click "File" "Save As" in the upper left corner, and select "All Files" in "Save as Type".

How to create html file

Then change the file name to the format of "XXXX.html", select the save address, and click Save. Then the files we started seeing were generated. (The editor here wants to say that the reason why the file has the "360 Browser" mark is because the editor has used this browser to open such files by default. This is not fixed and can be set according to personal preferences)

How to create html file

How to create html file

After opening the file, a simple web page will appear, with tags and content.

How to create html file

Recommended learning:

html video tutorial

The above is the detailed content of How to create html file. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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