Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
192 views
in Technique[技术] by (71.8m points)

html - Which are the standard W3C meta tags?

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" />
Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

http-equiv values

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...