HTM files, better known as HTML files, are files that contain the HTML language. If you open the HTM file in a text-editing program such as Notepad or TextEdit, you'll only see lines of text and symbols. However, if you open the HTML file in a web browser such as Safari, Edge, or Chrome, you will see a web page created from the code. This wikiHow teaches you how to open an HTM file using an application that comes pre-installed on a Windows or MacOS computer.
Step
Method 1 of 2: Opening Files for Review
Step 1. Browse to the HTM file that you want to open
Web browsers such as Chrome, Safari, and Microsoft Edge display the HTML encoding as a website, and not a line of code for editing. You can follow this method to view the file as a web page.
Step 2. Right-click the file ending in.htm or.html
The menu will expand afterwards.
Step 3. Select the Open with menu
A list of applications installed on the computer will be displayed.
Step 4. Choose a web browser
Some of the popular browser options include Edge, Safari, Chrome, and Firefox. Once selected, the browser will open and display the web page according to its encoding.
Method 2 of 2: Opening Files for Editing
Step 1. Open Notepad (PC) or TextEdit (Mac)
These text editing programs come preinstalled on the computer and can be used to edit HTM files. You can find the application in the “Start” menu (Windows) or in the “Applications” folder (Mac).
Step 2. Click the File menu
This menu is at the top of the program window or the top side of the screen.
Step 3. Click Open
A file browsing window will load.
Step 4. Locate and double click the HTM file
After that, the file will be opened for editing.
- After editing the file, you can save your changes by clicking on the “ File " and choose " Save ”.
- Search and read methods using the Chrome or Safari browsers to find out how to view page changes in a web browser.