【发布时间】:2014-11-17 09:13:57
【问题描述】:
据我所知,一段代码如下:
/ This is a comment that will never get displayed, even in the source code
永远不会被人看到,这样好像没有用?为什么一个人会在有它的时候使用它
/! This is a comment that will only get displayed in the source code
代码编译成 HTML 的时候会注释掉。
有什么我没有得到的吗?为什么会有人发表不可见的评论?
【问题讨论】:
-
我不确定我是否正确使用了“cmets”标签,我的意思是代码中的 cmets,而不是想要的 cmets =)
-
你从哪里得到这些样本?
-
我从here 得到了信息。该部分称为“代码注释/”。您可以使用 ctrl+f 或查看内容页面找到该文本。