This article was co-authored by wikiHow staff writer, Darlene Antonelli, MA. Darlene has been writing and editing tech content at wikiHow since 2019. She previously worked for AppleCare, served as a writing tutor, volunteered in IT at an animal rescue, and taught as an adjunct professor for EN101 and EN102. Darlene has completed Coursera courses on technology, writing, and language. She holds both a BA (2011) and an MA (2012) from Rowan University in Writing, with a focus on workplace communication. With her extensive experience, academic background, and ongoing learning, Darlene has become the go-to grammar expert for her friends and family, as well as a skilled wordsmith for anyone in need.
This article has been viewed 150,620 times.
Learn more...
HTM files are most commonly known as HTML files, which are the files that contain HTML. If you open an HTM file in a text editor like Notepad or TextEdit, you’ll only see lines of text and symbols. But when you open HTM files in a web browser like Safari, Edge, or Chrome, you'll see the web page created by the code. This wikiHow will show you how to open HTM files using apps that are already on your Windows or macOS computer.
Opening an HTM File
- Right click the file you want to open. Click Open with and choose a web browser.
- To edit, open Notepad (PC) or TextEdit (Mac). Click File > Open and choose your HTM file.
- Use third party apps like Dreamweaver, Eclipse, and Bluefish to open HTML files.
Steps
-
Browse to the HTM file you want to open. Web browsers like Chrome, Safari, and Microsoft Edge display HTML coding as websites rather than opening them for editing. You can use this method to view the file as a webpage.
-
Right-click the file ending with .htm or .html. A menu will expand.Advertisement
-
Select the Open with menu. A list of apps on your computer will appear.
-
Select a web browser. Some common options are Edge, Safari, Chrome, and Firefox. Once you select a browser, it will open to display the webpage as it’s coded.
-
Open Notepad (PC) or TextEdit (Mac). These text editors come with your computer and can be used to edit HTM files. You’ll find the app on either your Start menu or in the Applications folder.
-
Click the File menu. You’ll see this either at the top of the program window or at the top of your screen.
-
Click Open. A file browser will pop up.
-
Navigate to and double-click your HTM file. This opens the HTML file for editing.
- After editing the file, you can save your changes by clicking the File menu and selecting Save.
- See the "Using Chrome or Safari" method to learn how to view your changes in a web browser.
Expert Q&A
Video
Tips
-
You can also use programs like Dreamweaver, Eclipse, and Bluefish to open, edit, and preview HTML files.Thanks
About This Article
1. Open Notepad (Windows) or TextEdit (Mac).
2. Click the File tab.
3. Click Open.
4. Navigate to and double-click your HTM file.