● meat 标签的 NAME 变量语法格式是:
< META NAME="xxx" CONTENT="xxxxxxxxxxxxxxxxxx">
其中 xxx 主要有下面几种参数:
1.Keywords( 关键字 )
说明: keywords 用来告诉搜索引擎你网页的关键字是什么。
举例: < META NAME ="keywords" CONTENT="life, universe, mankind, plants, relationships, the meaning of life, science">
2.description( 简介 )
说明: description 用来告诉搜索引擎你的网站主要内容。
举例: < META NAME="description" CONTENT="This page is about the meaning of life, the universe, mankind and plants.">
3.robots( 机器人向导 )
说明: robots 用来告诉搜索机器人哪些页面需要索引,哪些页面不需要索引。 CONTENT 的参数有 all,none,index,noindex,follow,nofollow 。默认是 all 。
举例: < META NAME="robots" CONTENT="none">
4.author( 作者 )
说明:标注网页的作者
举例: < META name="AUTHOR" content="ajie,ajie@netease.com">
以上是 META 标签的一些基本用法,其中最重要的就是 :Keywords 和 description 的设定。