comment.html手机文件,comment HTML元素

定义

表示不可见的注释。防止所包含的文本或者HTML源代码被浏览器解析和显示。

Indicates a comment that is not displayed. Prevents any enclosed text or HTML source code from being parsed and displayed in the browser window.

注释

COMMENT 元素将被看作无范围的元素也不含任何子对象。

此元素在 Internet Explorer 3.0 及以上版本的 HTML 中可用,在 Internet Explorer 4.0 及以上版本的脚本中可用。

在 Internet Explorer 6 中可用的 comment.length 属性,将返回对象中的字符数。

此元素不改变显示。

此元素需要关闭标签。

此元素可以包含其它HTML元素。此元素不能嵌套使用。

The COMMENT element is treated as a no-scope element and does not expose any children.

This element is available in HTML as of Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

The comment.length property, available as of Internet Explorer 6, returns the number of characters in the object.

This element is not rendered.

This element requires a closing tag.

Comments can contain other HTML elements. Comments do not nest.

示例代码

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值