作者热门文章
- objective-c - iOS 5 : Can you override UIAppearance customisations in specific classes?
- iphone - 如何将 CGFontRef 转换为 UIFont?
- ios - 以编程方式关闭标记的信息窗口 google maps iOS
- ios - Xcode 5 - 尝试验证存档时出现 "No application records were found"
我的 HTML 文档有什么问题?
<html>
<body>
<p><![CDATA[I can't see this text :(]]></p>
</body>
</html>
为什么我在 CDATA
中看不到文本?
最佳答案
在实践中,显式 CDATA 部分在 text/html
文档中不受支持。它们被标记为作者应该 avoid because they have limited support 的功能.
您的浏览器可能将其视为未知元素。
关于html - 如何在html文件中使用CDATA?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3880644/
我是一名优秀的程序员,十分优秀!