没有合适的资源?快使用搜索试试~ 我知道了~
首页HTML5 对各个标签的定义与规定:meta
一般放在head标签或head标签的noscript标签中。 为空元素(没有内容)。 除了全局属性之外,还有 name、http-equiv、content、charset DOM接口 interface HTMLMetaElement : HTMLElement { attribute DOMString name; attribute DOMString httpEquiv; attribute DOMString content; };
资源详情
资源评论
资源推荐

HTML5 中国:hp://www.html5cn.org
HTML5 对各个标签的定义与规定:meta
一般放在 head 标签或 head 标签的 noscript 标签中。
为空元素(没有内容)。
除了全局属性之外,还有 name、http-equiv、content、charset
DOM 接口
interface HTMLMetaElement : HTMLElement {
attribute DOMString name;
attribute DOMString httpEquiv;
attribute DOMString content;
};
meta 标签用来表达 title, base, link, style, and script 等标签所表达不了的
metadata 或 pragma 信息。
其中 name, http-equiv, 和 charset 属性必须且只能设置一个。
如果设置了 name 属性或 http-equiv 属性,还必须设置 content 属性。
charset 属性用来设定文档的编码,如 UTF-8。
只允许一个 meta 标签设置 charset 属性。
更多详情可访问 html5 中国:hp://www.html5cn.org

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论0