Home  >  Article  >  Web Front-end  >  What kind of file does html belong to? How to open an html file?

What kind of file does html belong to? How to open an html file?

php中世界最好的语言
php中世界最好的语言Original
2018-01-18 09:44:044227browse

This time I will bring you what file html belongs to, how to open the html file, what are the precautions when using HTML files, the following is a practical case, let's take a look.

html is hypertext markup language. Most web pages now are in html format. The so-called html file is actually a hypertext file, in which hypertext can be non-text elements such as pictures or music, and is also widely used. However, many users don’t quite understand what file html is? And I don’t know how to open the html file? Here, let the editor take the Win7 system as an example to introduce you to the html file and how to open it!

What is html file?

The http file is a hypertext markup language file. The structure of hypertext markup language includes a head part (Head) and a body part (Body). The head part (head) provides information about the web page, and the body part (body) provides the specific content of the web page. It is actually text, which requires interpretation by the browser. Each HTML tag can have different attributes when used to describe the content described by the tag and display different effects.

 How to open html files?

 1. If you only want to view the display effect of the local html file, you can open it with a browser, such as Firefox, Google Chrome, 360 Browser, ie Browser;

 2. Open method, click on the file, then right-click the mouse, and find the open method in the right-click menu;

 3. Move the mouse to the open method, in From the pop-up menu, select the installed browser to open;

4. The layout may be uneven after opening, which is caused by the loss of css;

5. Edit htm file. htm fileEditorThere are many such as Adobe Dreamweaver, sublime text, of course Notepad can also be used, Notepad is the simplest, no installation is required, just right-click and open it with Notepad;

6. Sublime text opens. sublime test is a development software that is fast and lightweight. To open a file, just file-》open file to find the file.

I believe you have mastered the methods after reading these cases. For more exciting information, please pay attention to other related articles on the php Chinese website!

Related reading:

How to use the img tag of HTML images

What are the basic controls of HTML

How to use spaces in HTML

The above is the detailed content of What kind of file does html belong to? How to open an 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