Beginner users have a "meeting" with a file having an extension .html, there may be a problem with its discovery. Such files can arrive by mail or through social network and contain, for example, a report or any form. But it is ultimately not recommended to open similar files if you are not sure about their reliability.
1
To begin with, it is necessary to figure out what the HTML files are intended for. Basically, this extension is used for one purpose - to open them in the user's web browser. All the sites on which the user comes is built exclusively on them, or rather written on HTML codes that are not visible to site visitors. The user sees only ready-made pages as they were conceived. To open this file, just click on it twice the left mouse button.
2
Please note that a folder with images, text documents, etc. can be located next to the HTML file. So maybe if it is saved (or created) the site page. This folder is the external content of the entire page, we are also interested only by the main HTML file.
3
By default, the HTML system selects the web browsers work program. In this case, it will open the file using those web browsers that are installed on the computer. If the OS is reinstalled, or web brazers were not installed, the file will open by the standard browser - Internet Explorer.
4
A situation is possible when not a single program is assigned to this file expansion. Then you need to select a work program yourself. Right-click on this file and select "Open with ...".
5
If you want to see a complete list of programs, click "Select a program ...".
6
A window will open in which all available work programs will be displayed. We are interested in web browsers. In the screenshot below, there are such browsers on the computer as Internet Explorer, Google Chrome, Mozilla Firefox. To open this file, any of them will suit.
7
The above method is suitable for opening a finished HTML document. But there may be cases when we need to open this file to change its structure, its HTML code. Here you can use an ordinary notebook, pre-setting it as a work program.
8
If you do not want the file of this extension to be opened always notepad, remove a tick from the bottom item.
9
Notepad will display a similar structure, it is HTML code. The above structure is provided as an example and is a saved page of this site. In other documents with the extension of HTML, there may be other structures.
10
At least "Notepad" and opens these files, but it can still be inconvenient in working with HTML documents, especially if you need to make changes. It is best to use the NotePad ++ program that is specifically designed to work with HTML and is used by many programmers.
11
To open an HTML file through this program, select the "File" tab in the top panel, then the "Open" item and specify the directory in which the desired file is located.
12
NotePad ++ will open the structure of the HTML file as well as notepad, but much organized: each line is numbered, and tags, attributes and information inside the tags are highlighted by their colors. In addition, NotePad ++ has a number of its advantages, thanks to which work with HTML becomes easier.
Using these methods, you can open any file with HTML format for both changes and simple viewing. It should be remembered that the files with the extension of HTML and HTM are the same and do not differ.