html的head內標籤

來源:互聯網
上載者:User

標籤: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內標籤

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.