简体   繁体   English

如何在 TextEdit/Mac 的 Index.html 上添加我的 html 代码。 我在 index.html 中的内容不允许我进行任何编辑

[英]How can I add my html code on my Index.html in my TextEdit/ Mac. My content in the index.html doesn't allow me to do any editing

I created an html page with TextEdit on my mac saving it at an HTML file, however when I click on it in my browser and want to add some structure, h1,p1, etc. the page is an online html and doesn't allow me to change or add anything我在 Mac 上使用 TextEdit 创建了一个 html 页面,将其保存在一个 HTML 文件中,但是当我在浏览器中单击它并想要添加一些结构、h1、p1 等时,该页面是一个在线 html 并且不允许我改变或添加任何东西

I changed the rich text to plain text.我将富文本更改为纯文本。

Open it again using your TextEdit.使用您的 TextEdit 再次打开它。 Don't just open and click it, open the file in the TextEdit or Open Using TextEdit.不要只是打开并单击它,在 TextEdit 中打开文件或使用 TextEdit 打开。 Cause once you save it as an html, Mac or windows open it as a website.因为一旦将其另存为 html、Mac 或 Windows,就会将其作为网站打开。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM