
click to enlarge
Now, you have just found out how to open HTML. But, you probably want to know how to open HTML and view the actual code, rather than what you saw in the browser. This is very easy to do. If you are using a Windows PC, you can open an HTML file with Notepad. If you are using a Mac computer, you can open an HTML file with TextEdit.
For Windows:
Right click on the HTML file and select Open with > Notepad.
Alternatively you could start by opening up notepad by navigating the path: Start > All Programs > Accessories > Notepad. After Notepad is ready to go, select File > Open. From here, you are going to need to navigate to the HTML file that you want to open. If you are navigating to the right location, but not seeing the HTML file, you have to make a quick change. Click the drop down box that says Text Documents (*.txt) and change it to All Files. Your HTML file should appear. Click once to select it and click the Open button.
For Mac:
Secondary click your HTML file and select Open with > TextEdit.
*You can edit HTML using Notepad and TextEdit.*