其他内容

HTML <meta>

meta标签共有两个属性,它们分别是http-equiv属性和name属性,不同的属性又有不同的参数值

name

主要用于描述网页,与之对应的属性值为content,content中的内容主要是便于搜索引擎机器人查找信息和分类信息用的。

A、Keywords(关键字)  
<metaname="keywords"content="science,education,culture,politics,ecnomics,relationships,entertaiment,human"> 
B、description(网站内容描述) 
<metaname="description"content="Thispageisaboutthemeaningofscience,education,culture."> 
C、robots(机器人向导) 
content的参数有all,none,index,noindex,follow,nofollow。默认是all。 
<metaname="robots"content="none"> 
D、author(作者) 
<metaname="author"content="root,root@xxxx.com"> 

 

posted @ 2019-05-05 21:57  小黑、  阅读(347)  评论(0编辑  收藏  举报