How to create a new html file: First create a notepad file on the computer desktop and open it; then enter the HTML language in it; then click "File - Save As" in the upper left corner, and select "Save as Type" Select "All files"; finally change the file name to the format of "XXXX.html".
The operating environment of this article: Windows 7 system, 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 to add in the first line at the beginning. The indentation is based on a "tab key". Add Go to the basic tags
and enter the content in them.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)
[Recommended learning: HTML video tutorial]
After opening the file, a simplest web page appears with tags. There is content.
Finally, the editor would like to tell you that this HTML file can be continuously changed. First select the file, then right-click and select "Notepad" in "Open with".
After opening Notepad, you can edit in it. After the modification is completed, just click "File"
"Save". Finally open the file and you will find that the content of the web page has changed.
The above is the detailed content of How to create a new html file. For more information, please follow other related articles on the PHP Chinese website!