- 1). Right-click on the text file you want to save as HTML.
- 2). Select "Open With" and then "Notepad." If you're using a Mac, the program will be called TextEdit.
- 3). Click "File" and "Save As" in the program's navigation bar.
- 4). Choose the location you would like to save your new HTML file. Give your file a title in the text field "File name." Don't leave any spaces and remember to add ".html" (without quotes) at the end of the title. In the drop-down box labeled "Save as type" select "All Files." Select "Save."
- 5). Minimize Notepad's window. Locate the HTML file you just saved. Right-click on it, select "Open with" and choose the browser of your choice. The file will open as an HTML document.
SHARE