常用meta

2017-07-02  本文已影响0人  Liberty寒风
属性 描述
http-equiv content-type / expire / refresh / set-cookie 把content属性关联到HTTP头部。
name author / description / keywords / generator / revised / others 把 content 属性关联到一个名称。
content some text 定义用于翻译 content 属性值的格式。
<meta name="keywords" content="your tags" />

<meta name="description" content="150 words" />

<meta name="robots" content="index,follow" />
<!--
    all:文件将被检索,且页面上的链接可以被查询;
    none:文件将不被检索,且页面上的链接不可以被查询;
    index:文件将被检索;
    follow:页面上的链接可以被查询;
    noindex:文件将不被检索;
    nofollow:页面上的链接不可以被查询。
 -->

<meta http-equiv="refresh" content="0;url=" />

<meta name="author" content="author name" /> <!-- 定义网页作者 -->
<meta name="google" content="index,follow" />
<meta name="googlebot" content="index,follow" />
<meta name="verify" content="index,follow" />

网页相关

<meta charset='utf-8' />

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
上一篇 下一篇

猜你喜欢

热点阅读