我们如何在HTML代码中添加注释?
HTML<comment>标记允许作者注释其HTML代码。
建议使用<!--....-->注释标签。该标签与所有浏览器兼容。
注意-HTML5中已弃用<comment>标记。不要使用它。
示例
<!DOCTYPE html>
<html>
<head>
<title>HTML <!--....--> Tag</title>
</head>
<body>
<comment>This is a commented line in IE</comment>
<!-- This is a commented line supported by almost every browser.
It will not appear in output as its a comment.
-->
</body>
</html>热门推荐
7 短祝福语简短暖心
10 简短56岁生日祝福语
11 节日祝福语幽默简短的
12 诗词文案祝福语简短精辟
13 祝女性生日祝福语简短
14 简短送嫂子生日祝福语
15 老爸生日暴富祝福语简短
16 好朋友夫妻祝福语简短
17 女儿生日祝福语说说简短
18 送给老师中秋祝福语简短