How to use CDATA in html documents?
What is wrong with my HTML document?
<html>
<body>
<p><![CDATA[I can't see this开发者_如何学运维 text :(]]></p>
</body>
</html>
Why don't I see the text inside CDATA
?
Explicit CDATA sections are, in practice, unsupported in text/html
documents. They are marked as a feature authors should avoid because they have limited support.
Your browser is probably treating it as an unknown element.
精彩评论