1. http-equiv顧名思義,至關於http的文件頭做用,它能夠向瀏覽器傳回一些有用的信息,以幫助正確和精確地顯示網頁內容,與之對應的屬性值爲content,content中的內容其實就是各個參數的變量值。瀏覽器
2. <meta http-equiv="expires" content="Wed, 20 Jun 2007 22:33:00 GMT"> 緩存
參數名:expires;參數值:Wed, 20 Jun 2007 22:33:00 GMT(必須使用GMT的時間格式)服務器
能夠用於設定網頁的到期時間。一旦網頁過時,必須到服務器上從新傳輸。 網站
3. <meta http-equiv="cache-control" content="no-cache"> ui
清除緩存(再訪問這個網站要從新下載)搜索引擎
4. <meta http-equiv="expires" content="0"> spa
設置網頁的到期時間索引
5. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> ip
關鍵字,給搜索引擎用的
io
6. <meta http-equiv="description" content="This is my page">
頁面描述