Page shows code not rendering

前端 未结 4 1230
醉话见心
醉话见心 2020-12-18 22:26

\"enterI know this is simple question, but i am fighting with it for few hrs, so its better to

4条回答
  •  春和景丽
    2020-12-18 22:54

    It is likely that TextEdit has formatted your text, since by saving it as a Web Document it thinks that you have typed up the web page how you want it displayed, with all formatting, instead of raw HTML code. Try to save the document as raw text, then change the extension manually from whatever it is (probably .txt) to .html. For a more permanent solution, it is advisable to use a non-formatting text editor when coding.

    EDIT: This is what Apple have to say: http://support.apple.com/kb/ta20406

提交回复
热议问题