How to edit html files on a mac?
You can use the text editor (TEXT EDIT) to write or edit html codes just like you would with Notepad. But you need to change the default settings on your TEXT EDIT.
- Open TextEdit program on your Mac.
- Click on TextEdit Preferences.
- Under NEW DOCUMENT, select Plain Text.
- Under OPEN AND SAVE, deselect “Add .txt extension to plain text files".
- When saving your file, leave the “Add .txt If no extension is provided use .txt unchecked.
- Add to the name of the file .html when saving. If your file name is “file”, name it “file.html”.
- Now your file should open with the BROWSER and the codes should work.