码迷,mamicode.com
首页 > Web开发 > 详细

meta标签

时间:2015-09-02 17:22:46      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:

SEO优化

1、<meta name="keywords" content="your tags" />

页面关键词,每个网页应具有描述该网页内容的一组唯一的关键字。标记不应超过 874 个字符。

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

页面描述,每个网页都应有一个不超过 150 个字符且能准确反映网页内容的描述标签。

3、<meta name="robots" content="all" />

搜索引擎索引方式,robotterms是一组使用逗号(,)分割的值,通常有如下几种取值:none,noindex,nofollow,all,index和follow。

all:文件将被检索,且页面上的链接可以被查询;
none:文件将不被检索,且页面上的链接不可以被查询;
index:文件将被检索;
follow:页面上的链接可以被查询;
noindex:文件将不被检索;
nofollow:页面上的链接不可以被查询。


 

author

<meta name="author" content="Evance" />

网页制作者信息。


 

refresh

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

页面重定向和刷新:content内的数字代表时间(秒),既多少时间后刷新。如果加url,则会重定向到指定网页(搜索引擎能够自动检测,也很容易被引擎视作误导而受到惩罚)。


 

忽略数字自动识别为电话号码

<metacontent="telephone=no" name="format-detection" />


 

忽略识别邮箱

<metacontent="email=no" name="format-detection" />


 

apple-itunes-app

<meta name= "apple-itunes-app"content="app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL">

添加智能 App 广告条 Smart App Banner:告诉浏览器这个网站对应的app,并在页面上显示下载banner。

 

meta标签

标签:

原文地址:http://www.cnblogs.com/shirliey/p/4778933.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!