Home  >  Article  >  Web Front-end  >  How to create a new html file

How to create a new html file

藏色散人
藏色散人Original
2021-04-28 09:40:3319722browse

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".

How to create a new html file

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.

How to create a new html file

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.

How to create a new 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 a new 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)

[Recommended learning: HTML video tutorial]

How to create a new html file

After opening the file, a simplest web page appears with tags. There is content.

How to create a new html file

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".

How to create a new html file

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.

How to create a new html file

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!

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