Home >Web Front-end >HTML Tutorial >How to create html file
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".
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.
##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. After completing the input, click "File" "Save As" in the upper left corner, and select "All Files" in "Save as Type". 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) After opening the file, a simple web page will appear, with tags and content. Recommended learning: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!