【问题标题】:Which are the standard W3C meta tags?哪些是标准的 W3C 元标记?
【发布时间】:2013-04-16 19:20:06
【问题描述】:

除了http://www.w3.org/wiki/HTML/Elements/meta 给出的以下之外,W3C 中定义的标准元标记列表是什么

  <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" />

【问题讨论】:

    标签: html meta-tags w3c


    【解决方案1】:

    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

    【讨论】:

      猜你喜欢
      • 2011-05-20
      • 1970-01-01
      • 1970-01-01
      • 2011-06-17
      • 1970-01-01
      • 1970-01-01
      • 2013-10-12
      • 1970-01-01
      • 2018-09-15
      相关资源
      最近更新 更多