哪些是标准的W3C元标记?

时间:2013-04-23 14:15:26

标签: html meta-tags w3c

W3C中定义的标准元标记列表除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" />

1 个答案:

答案 0 :(得分:11)

HTML5

您只能在HTML5中使用以下值。如果您需要未列出的值,则必须先注册。

name

http-equiv

HTML 4.01

在HTML 4.01中没有定义注册表,因此您可以使用您喜欢的任何值。见http://www.w3.org/TR/html401/struct/global.html#h-7.4.4

  

此规范未定义一组合法的元数据属性。

规范提供了name值的一些示例,例如:

  • author
  • keywords
  • description
  • copyright
  • date
  • ROBOTS

对于http-equiv值,例如:

  • Expires
  • PICS-Label
  • Content-Type
相关问题