meta的標籤信息(二)

<meta charset="UTF-8">
//聲明字符的編碼**防止出現亂碼

<meta http-equiv="x-UA-Compatible" content="IE=edge">
//避免IE使用兼容模式(必須放在前面否則無效)
 
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
//對移動設備的友好 確保適當的繪製和觸屏縮放 shrink-to-fit=no則禁用其縮放(zooming)功能*Bootstrap
 
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<META http-equiv="expires" content="0">
//禁止html頁面緩存

<meta name="author" content="作者">
//規定文檔的作者
 
<meta name="description" content="頁面描述">
//規定文檔頁面的描述(限150字符) 搜索引擎會把這個描述顯示在搜索結果中
 
<meta name="keywords" content="關鍵字">
//搜索關鍵字用來告訴搜索引擎
 
<meta name="robots" content=" index,follow" />
//所有搜索引擎(搜索引擎抓取)
 
<meta name="googlebot" content="index,follow">
//搜索引擎抓取(只對谷歌有效)
 
<meta http-equiv=“expires” content=“Wed, 26 Feb 1997 08:21:57 GMT”>
//設定網頁的到期時間。一旦網頁過期,必須到服務器上重新調閱

<meta name="x5-orientation" content="portrait">
//QQ強制豎屏
 
<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
//不讓百度轉碼 原網頁呈獻給移動端

<meta http-equiv="Pragma" content="no-cache"> 
//禁止瀏覽器從本地機的緩存中調閱頁面內容

<meta http-equiv="Window-target" content="_top">
//用來防止別人在框架裏調用你的頁面

<meta http-equiv="refresh" content="秒數,URL地址">
//規定幾秒後跳轉到指定的URL鏈接
 
<meta name="generator" content="FrontPage4.0">
//規定用於生成文檔的一個軟件包
 
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
//允許控制資源的過度加載
 
<meta name="application-name" content="應用名稱">
//Web應用程序的名稱(僅網站被用作一個應用時才使用它)
 
<meta name="google" content="nositelinkssearchbox">
//告訴Google不顯示網站鏈接的搜索框信息
 
<meta name="google" content="notranslate">
//告訴Google不提供此頁面的翻譯
 
<meta name="google-site-verification" content="verification_token">
//驗證 Google 搜索控制檯的所有權
 
<meta name="yandex-verification" content="verification_token">
//驗證 Yandex 網站管理員的所有權
 
<meta name="msvalidate.01" content="verification_token">
//驗證 Bing 網站管理員中心的所有權
 
<meta name="alexaVerifyID" content="verification_token">
//驗證 Alexa 控制檯的所有權
 
<meta name="p:domain_verify" content="code from pinterest">
//驗證 Pinterest 控制檯的所有權
 
<meta name="norton-safeweb-site-verification" content="norton code">
//驗證 Norton 安全站點的所有權
 
<meta name="generator" content="program">
//用來命名軟件或用於構建網頁(如WordPress、Dreamweaver)
 
<meta name="subject" content="主題描述">
//網站主題的簡短描述
 
<meta name="abstract" content="">
// 非常簡短(不大於10字)的描述。
 
<meta name="google" content="notranslate">
//禁用翻譯提示(Google Chrome)
 
<meta name="rating" content="General">
//基於網站內容給出一般的年齡分級
 
<meta name="referrer" content="no-referrer">
//允許控制 referrer 信息如何傳遞
 
<meta name="format-detection" content="telephone=no">
//禁用自動檢測和格式化可能的電話號碼
 
<meta http-equiv="x-dns-prefetch-control" content="off">
//通過設置爲 “off” 完全退出 DNS 預取
 
<meta http-equiv="set-cookie" content="name=value; expires=date; path=url">
//在客戶端存儲 cookie,web 瀏覽器的客戶端識別
 
<meta http-equiv="Window-Target" content="_value">
//指定要顯示在一個特定框架中的頁面
 
<meta name="ICBM" content="latitude, longitude">
<meta name="geo.position" content="latitude;longitude">
//地理標籤
 
<meta name="geo.region" content="country[-state]">
//國家代碼 (ISO 3166-1): 強制性, 州代碼 (ISO 3166-2): 可選; 如 content="US" / content="US-NY"
 
<meta name="geo.placename" content="city/town">
//如 content="New York City"
 
<meta name="apple-itunes-app" content="app-id=APP_ID,affiliate-data=AFFILIATE_ID,app-argument=SOME_TEXT">
//智能應用 Banner(apple IOS)
 
<meta name="format-detection" content="telephone=no">
//禁用自動檢測和格式化可能的電話號碼(apple IOS)
 
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black"> 
<meta name="apple-mobile-web-app-title" content="應用標題">
//添加到主屏幕(apple IOS)
 
<meta name="apple-itunes-app" content="app-id=APP-ID, app-argument=http/url-sample.com">
// iOS 應用深層鏈接(apple IOS)
 
<meta name="theme-color" content="#E64545">
//添加到主屏幕(Google Android)
 
<meta name="mobile-web-app-capable" content="yes">
//https://developer.chrome.com/multidevice/android/installtohomescreen(Google Android)
 
<meta name="mobile-web-app-capable" content="yes">
//定義你的網頁爲 Web 應用
 
<meta name="skype_toolbar" content="skype_toolbar_parser_compatible">
// IE10: 禁用鏈接點擊高亮
 
<meta property="al:ios:url" content="applinks://docs">
<meta property="al:ios:app_store_id" content="12345">
<meta property="al:ios:app_name" content="App Links">
//應用鏈接(IOS)
 
<meta property="al:android:url" content="applinks://docs">
<meta property="al:android:app_name" content="App Links">
<meta property="al:android:package" content="org.applinks">
//應用鏈接(Android)
 
<meta property="al:web:url" content="http://applinks.org/documentation">
//Web回退
 
<meta name="renderer" content="webkit|ie-comp|ie-stand">
//選擇渲染引擎(360瀏覽器)
 
<meta name="x5-orientation" content="landscape/portrait">
//在指定方向上鎖定屏幕 鎖定橫/豎屏(QQ移動瀏覽器)
 
<meta name="x5-fullscreen" content="true">
//全屏顯示此頁面(QQ移動瀏覽器)
 
<meta name="x5-page-mode" content="app">
//頁面將以“應用模式”顯示/全屏等(QQ移動瀏覽器)
 
<meta name="screen-orientation" content="landscape/portrait">
//在指定方向上鎖定屏幕 鎖定橫/豎屏(UC移動瀏覽器)
 
<meta name="full-screen" content="yes">
//全屏顯示此頁面(UC移動瀏覽器)
 
<meta name="imagemode" content="force">
//即使在“文本模式”下,UC瀏覽器也會顯示圖片(UC移動瀏覽器)
 
<meta name="browsermode" content="application">
//頁面將以“應用模式”顯示 全屏、禁止手勢等(UC移動瀏覽器)
 
<meta name="nightmode" content="disable">
//在此頁面禁用“夜間模式”(UC移動瀏覽器)
 
<meta name="layoutmode" content="fitscreen">
//簡化頁面 減少數據傳輸(UC移動瀏覽器)
 
<meta name="wap-font-scale" content="no">
//禁用的UC瀏覽器的功能,“當此頁面中有較多文本時縮放字體”(UC移動瀏覽器)
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章