meta对于搜索引擎的意义

META标签分两大部分:HTTP标题信息(HTTP-EQUIV)和页面描述信息(NAME)。

其中NAME是描述网页的,对应于Content(网页内容),以便于搜索引擎机器人查找、分类(目前几乎所有的搜索引擎都使用网上机器人自动查找meta值来给网页分类)。

Keywords (关键字)

用法:<Meta name=”Keywords” Content=”关键词1,关键词2,关键词3,关键词4″>
为搜索引擎提供的关键字列表。注意:各关键词间用英文半角逗号“,”隔开。关键词数量最好保持在5个以内,关键词要和页面内容相关。

Description (简介)

用法:<Meta name=”Description” Content=”你网页的简述”>
Description用来告诉搜索引擎你的网站或该页面的主要内容,描述内容要和页面内容相关,字数在150个字以内。

Robots (机器人向导)

用法:<Meta name=”Robots” Content=”All|None|Index|Noindex|Follow|Nofollow”>

 

说明:Robots用来告诉搜索机器人哪些页面需要索引,哪些页面不需要索引。Content的参数有all、none、index、noindex、follow、nofollow。默认是all。

all: 文件将被检索,且页面上的链接可以被查询;none:文件将不被检索,且页面上的链接不可以被查询;(和 “noindex, no follow” 起相同作用);index:文件将被检索;(让robot/spider登录);follow:页面上的链接可以被查询;noindex:文件将不被检 索,但页面上的链接可以被查询;(不让robot/spider登录);nofollow:文件将不被检索,页面上的链接可以被查询。(不让robot /spider顺着此页的连接往下探找)。

Author (作者)

用法:<Meta name=”Author” Content=”中国教育总网,eduzw@163.com”>
标注网页的作者或制作组。Content可以是:你或你的制作组的名字或Email。

Copyright (版权)
用法:<Meta name=”Copyright” Content=”本页版权归毅衡所有。All Rights Reserved icediary”>
标注版权。

Generator (编辑器)
用法:<Meta name=”Generator” Content=”PCDATA|FrontPage|”>
编辑器的说明。

revisit-after (重访)

用法:<META name=”revisit-after” CONTENT=”7 days” > Www_Chinaz_com
一般用做引导搜索引擎重新访问你的站点的时间间隔,一般使用days。

转:http://roclinux.cn/?p=37

META常用举例:

<META http-equiv=Content-Type content=”text/html; charset=gb2312″>
//设定页面语言为简体中文
<META content=”关键字” name=”keywords”>
//设定关键字
<META content=”内容描述” name=”description”>
//设定描述
<META http-equiv=”Refresh” Content=”30″>
//设定该页面30秒自动刷新
<META name=”robots” content=”index, follow” />
//设定允许搜索引擎可以检索,页面上链接可以查询
<META name=”googlebot” content=”index, follow” />
//针对google的搜索机器人设定允许搜索引擎可以检索,页面上链接可以查询
<META name=”Author” Content=”毅衡”>
//页面作者
<META name=”Copyright” Content=”All Rights Reserved icediary”>
//页面版权
<META name=”revisit-after” CONTENT=”1 days” >
//设定回访为1天

posted @ 2012-03-20 10:13  殇伈de錑婲  阅读(248)  评论(0编辑  收藏  举报