Why do I need to comment the [removed] tag in HTML?

后端 未结 4 1832
长发绾君心
长发绾君心 2020-12-18 21:24

Most examples I\'ve seen have scripts in a html page being enclosed by


I\'ve tried writing it without the comment tags a

4条回答
  •  执念已碎
    2020-12-18 21:52

    It's for some old browsers that were in use last century.

    You no longer need them any more today, but using CDATA is considered good practice if you write XHTML.

提交回复
热议问题