Question: how to view html file on mac?
Answer: In the TextEdit app on your Mac, choose TextEdit > Preferences, then click Open and Save. Select “Display HTML files as HTML code instead of formatted text.”