
FaceTime Like a Pro
Get our exclusive Ultimate FaceTime Guide 📚 — absolutely FREE when you sign up for our newsletter below.
FaceTime Like a Pro
Get our exclusive Ultimate FaceTime Guide 📚 — absolutely FREE when you sign up for our newsletter below.
Along with creating, editing, and reading text documents in TextEdit on Mac, you can work with HTML files. From creating a new one to always opening files in code-editing mode, let’s look at how to use TextEdit for HTML on Mac.
TextEdit is a word processing and text editing app that comes preinstalled on macOS. You can use it to work with rich text documents like those created in applications like Microsoft Word. You can also use it for plain text documents, which is ideal for coding and editing HTML.
Moving forward, each time you open the file and save your changes, it will automatically save with the HTML file extension.
Pro Tip: If you want to preview the HTML document in your default browser, simply double-click the file.
Opening an HTML file in TextEdit isn’t as straightforward as you’d think. If you double-click the file, it opens in the browser and if you right-click and pick Open With → TextEdit, it opens in rich text format.
You should then see the HTML file open in plain text format, ready for editing.
To avoid the need to make the above adjustments each time you create or open an HTML file in TextEdit, you can change a few settings. This will save you time when working with HTML documents in the app down the road.
If you want to open normal text files in rich text format but open HTML files in plain text format (coding mode), this is a simple change.
Moving forward, when you open an HTML file in TextEdit, it’ll be displayed in the correct format for editing.
If you use a particular document type, CSS setting, or encoding style, you can change these options for TextEdit as well.
There are a few other settings that can help you when using TextEdit.
Select TextEdit in the menu bar → pick Settings → go to the New Document tab and try the following:
When you finish, simply close the settings and reopen TextEdit to see your changes.
Will you try TextEdit on Mac?
While you can always use a third-party editor for HTML, TextEdit on Mac is handy, free, and comes with macOS, so it’s definitely worth a try.
What do you think about using TextEdit on Mac for HTML? Are you going to give it a try, or have you already and want to share your thoughts?
Read more: