Html meta 標簽
阿新 • • 發佈:2019-02-19
content style -- 跳轉 head 兼容 寫入 從大到小 str
Html meta 標簽
meta 是 HTML Head 內部標簽
<html> <head> <!-- meta標簽:charset 指定字符編碼 --> <meta charset="UTF-8"> <!-- meta標簽:http-equiv="Refresh" 指定頁面刷新,每三秒刷新一次 --> <meta http-equiv="Refresh" content="3"> <!-- meta標簽:http-equiv="Refresh" 指定頁面刷新,每三秒後自動跳轉到指定網站--> <meta http-equiv="Refresh" content="3;Url=http://www.baidu.com"> 註:http-equiv 可以用在對付應急跳轉頁面時使用。 <!-- meta標簽:name="keywords" 搜索引擎網站關鍵字搜索 --> <meta name="keywords" content="搜索關鍵字"> <!-- meta標簽: name="description" 寫入網站描述信息 --> <meta name="description"content="描述信息"> <!-- meta標簽: http-equiv="X-UA-Compatible 指定網站使用IE兼容新模式打開 --> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> 註:ame="description" 可以簡寫 content="IE=E9;IE=E8;IE=E7" 從大到小,依次排列兼容。 </head> </html>
Html meta 標簽