Question: how to view html files on mac?
Answer: In the TextEdit app on your Mac, choose File > Open, then select the document.
Click Options at the bottom of the TextEdit dialog, then select “Ignore rich text commands.”
Click Open.