其餘內容

HTML <meta>

meta標籤共有兩個屬性,它們分別是http-equiv屬性和name屬性,不一樣的屬性又有不一樣的參數值網站

name

主要用於描述網頁,與之對應的屬性值爲content,content中的內容主要是便於搜索引擎機器人查找信息和分類信息用的。ui

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"> 搜索引擎

相關文章
相關標籤/搜索