Browser shows plain text instead of HTML in mac
问题 I want to write an html document like this : <html> <body> <h1>My First Heading</h1> </body> </html> I wrote it and saved it in my desktop with the name hello.html , but when I open this file with firefox or safari, the browser shows the whole text (including <html> and all of the texts) instead of only showing my first heading ! what's the problem? 回答1: The problem was that I wrote the HTML document with "Text Edit" application, and it saved the file with .rtf extension, that is not plain