這篇文章將為大家詳細(xì)講解有關(guān)HTML5頭部meta標(biāo)簽有什么功能,文章內(nèi)容質(zhì)量較高,因此小編分享給大家做個(gè)參考,希望大家閱讀完這篇文章后對(duì)相關(guān)知識(shí)有一定的了解。
<!DOCTYPE html> H5標(biāo)準(zhǔn)聲明,使用 HTML5 doctype,不區(qū)分大小寫(xiě)
<head lang=”en”> 標(biāo)準(zhǔn)的 lang 屬性寫(xiě)法
<meta charset=’utf-8′> 聲明文檔使用的字符編碼
<meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″/> 優(yōu)先使用 IE 最新版本和 Chrome
<meta name=”description” content=”不超過(guò)150個(gè)字符”/> 頁(yè)面描述
<meta name=”keywords” content=””/> 頁(yè)面關(guān)鍵詞
<meta name=”author” content=”name, email@gmail.com”/> 網(wǎng)頁(yè)作者
<meta name=”robots” content=”index,follow”/> 搜索引擎抓取
<meta name=”viewport” content=”initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no”> 為移動(dòng)設(shè)備添加 viewport
<meta name=”apple-mobile-web-app-title” content=”標(biāo)題”> iOS 設(shè)備 begin
<meta name=”apple-mobile-web-app-capable” content=”yes”/> 添加到主屏后的標(biāo)題(iOS 6 新增)
是否啟用 WebApp 全屏模式,刪除蘋(píng)果默認(rèn)的工具欄和菜單欄
<meta name=”apple-itunes-app” content=”app-id=myAppStoreID, affiliate-data=myAffiliateData, app-argument=myURL”>
添加智能 App 廣告條 Smart App Banner(iOS 6+ Safari)
<meta name=”apple-mobile-web-app-status-bar-style” content=”black”/>
<meta name=”format-detection” content=”telphone=no, email=no”/> 設(shè)置蘋(píng)果工具欄顏色
<meta name=”renderer” content=”webkit”> 啟用360瀏覽器的極速模式(webkit)
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”> 避免IE使用兼容模式
<meta http-equiv=”Cache-Control” content=”no-siteapp” /> 不讓百度轉(zhuǎn)碼
<meta name=”HandheldFriendly” content=”true”> 針對(duì)手持設(shè)備優(yōu)化,主要是針對(duì)一些老的不識(shí)別viewport的瀏覽器,比如黑莓
<meta name=”MobileOptimized” content=”320″> 微軟的老式瀏覽器
<meta name=”screen-orientation” content=”portrait”> uc強(qiáng)制豎屏
<meta name=”x5-orientation” content=”portrait”> QQ強(qiáng)制豎屏
<meta name=”full-screen” content=”yes”> UC強(qiáng)制全屏
<meta name=”x5-fullscreen” content=”true”> QQ強(qiáng)制全屏
<meta name=”browsermode” content=”application”> UC應(yīng)用模式
<meta name=”x5-page-mode” content=”app”> QQ應(yīng)用模式
<meta name=”msapplication-tap-highlight” content=”no”> windows phone 點(diǎn)擊無(wú)高光
設(shè)置頁(yè)面不緩存
<meta http-equiv=”pragma” content=”no-cache”>
<meta http-equiv=”cache-control” content=”no-cache”>
<meta http-equiv=”expires” content=”0″>
關(guān)于HTML5頭部meta標(biāo)簽有什么功能就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,可以學(xué)到更多知識(shí)。如果覺(jué)得文章不錯(cuò),可以把它分享出去讓更多的人看到。
另外有需要云服務(wù)器可以了解下創(chuàng)新互聯(lián)scvps.cn,海內(nèi)外云服務(wù)器15元起步,三天無(wú)理由+7*72小時(shí)售后在線,公司持有idc許可證,提供“云服務(wù)器、裸金屬服務(wù)器、高防服務(wù)器、香港服務(wù)器、美國(guó)服務(wù)器、虛擬主機(jī)、免備案服務(wù)器”等云主機(jī)租用服務(wù)以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡(jiǎn)單易用、服務(wù)可用性高、性?xún)r(jià)比高”等特點(diǎn)與優(yōu)勢(shì),專(zhuān)為企業(yè)上云打造定制,能夠滿(mǎn)足用戶(hù)豐富、多元化的應(yīng)用場(chǎng)景需求。
網(wǎng)站題目:HTML5頭部meta標(biāo)簽有什么功能-創(chuàng)新互聯(lián)
網(wǎng)站路徑:http://jinyejixie.com/article36/gjhsg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站、微信小程序、虛擬主機(jī)、做網(wǎng)站、響應(yīng)式網(wǎng)站、關(guān)鍵詞優(yōu)化
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容
網(wǎng)頁(yè)設(shè)計(jì)公司知識(shí)