Using the text edit pad on mac NEXT
Applications > textedit
Firstly go to Preferences (the Open and Save tab) and check "Ignore rich text commands in HTML files".