哪些是标准的W3C元标签? [英] Which are the standard W3C meta tags?
问题描述
在W3C中定义的标准元标记列表除 http://www.w3.org/wiki/HTML/Elements/meta
< meta http-equiv =Content-Typecontent =text / html; charset = utf-8/>
< meta http-equiv =Content-Style-Typecontent =text / css/>
< meta name =copyrightcontent =©W3C/>
< meta name =authorlang =encontent =/>
< meta name =robotscontent =Index,Follow/>
< meta name =description
content =万维网联盟(W3C)是一个国际社区
,其中会员组织,全职员工,
和大众共同合作开发Web标准。 />
HTML5
您只能在HTML5中使用以下值。如果您需要一个未列出的值,您必须先注册。
name
值
- 标准元数据名称(在HTML5规范中定义)
- MetaExtensions (根据HTML5规范,在WHATWG wiki 中注册)
http-equiv
值
- Pragma指令(定义于HTML5规范)
- PragmaExtensions (在WHATWG wiki中注册根据HTML5规范)
HTML 4.01
在HTML 4.01中没有定义注册表,所以你可以使用你喜欢的任何值。请参阅 http://www.w3.org/TR/html401/struct/global .html#h-7.4.4 :
本规范未定义一组合法的元数据属性。 p>
该规范给出了 name
值的一些示例,如:
-
作者
-
关键字
-
说明
-
copyright
-
date
-
ROBOTS
对于 http-equiv
:
-
过期
-
PICS-Label
-
Content-Type
/ ul>
What are the list of standard meta tags defined in W3C other than the below given at http://www.w3.org/wiki/HTML/Elements/meta
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="copyright" content="© W3C" />
<meta name="author" lang="en" content="" />
<meta name="robots" content="Index,Follow" />
<meta name="description"
content="The World Wide Web Consortium (W3C) is an international community
where Member organizations, a full-time staff,
and the public work together to develop Web standards." />
<meta name="keyword" content="W3C, HTML, CSS, SVG, Web standards" />
HTML5
You can only use the following values in HTML5. If you need a value not listed, you’d have to register it first.
name
values
- Standard metadata names (defined in the HTML5 spec)
- MetaExtensions (registered in the WHATWG wiki according to the HTML5 spec)
http-equiv
values
- Pragma directives (defined in the HTML5 spec)
- PragmaExtensions (registered in the WHATWG wiki according to the HTML5 spec)
HTML 4.01
In HTML 4.01 there is no registry defined, so you can use whatever values you like. See http://www.w3.org/TR/html401/struct/global.html#h-7.4.4:
This specification does not define a set of legal meta data properties.
The spec gives some examples for name
values, like:
author
keywords
description
copyright
date
ROBOTS
And for http-equiv
values, like:
Expires
PICS-Label
Content-Type
这篇关于哪些是标准的W3C元标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!