標籤:meta python refresh com 關鍵字 log pat href auto
ctrl+?:自動注釋
head標籤中包含的內容:
titile 標籤
<link/>:搞表徵圖
<link rel="shortcut icon" href="image/favicon.ico> # 指定圖片的表徵圖以及所在的位置。用的圖片是image下的favicon圖片。
<style/>
<script/>
<meta 編碼,跳轉,重新整理,關鍵字,描述,IE相容>
1. 做編碼,自動重新整理和跳轉,但是看不到什麼時候跳轉。在頭部也可以做跳轉。但是一般不用,應急用。
<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <meta http-equiv="Refresh" Content="3"> <meta http-equiv="‘Refresh" Content="3:Url=http://www.autohome.com.cn"> <!--頁面預設3S 重新整理一次,跳轉到指定的頁面--> <title>Title</title></head><body> <div></div> <a href="http://www.oldboyedu.com">老男孩</a></body></html>
2.關鍵詞,給搜尋引擎用的。就是搜哪些關鍵詞能搜出來這個連結。
<meta name="keywords" content="高中 化學 全職 兼職 高考衝刺">
3.描述
例如:cnblogs
<meta name="description" content="高一 氧化還原反應 同步課程 期末衝刺輔導">
4.X-UA-Compatible: 指定相容IE9
<meta http-equiv="X-UA-Compatible" content="IE=IE9;IE=IE8;"/>
html的head內標籤