开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜