Question: how to do html on mac?
Answer: In the TextEdit app on your Mac, choose File > New, then choose Format > Make Plain Text. Enter the HTML code. Choose File > Save, type a name followed by the extension . html (for example, enter index. html), then click Save. When prompted about the extension to use, click “Use . html.”