您好,登錄后才能下訂單哦!
這篇文章給大家分享的是有關(guān)移動(dòng)端的頭部標(biāo)簽怎么用的內(nèi)容。小編覺(jué)得挺實(shí)用的,因此分享給大家做個(gè)參考,一起跟隨小編過(guò)來(lái)看看吧。
1.meta標(biāo)簽http-equiv屬性語(yǔ)法格式:
<meta http-equiv="expires" content="wed,20 Jun 2007 22:33:00 GMT"/> <!--expires 期限,可用于網(wǎng)頁(yè)的到期時(shí)間,一旦網(wǎng)頁(yè)過(guò)期,必須到服務(wù)器上重新傳輸-->
2.content-type (顯示字符集的設(shè)定) 設(shè)定頁(yè)面使用的字符集
<meta http-equiv="content-type" content="text/html" charset="utf-8"/>
3.keywords (關(guān)鍵字)
<meta http-equiv="Keywords" content="keywords1,keywords2...."/>
4.description (描述)
<meta http-equiv="description" content="this is my page"/>
5.format-detection 格式檢測(cè)
1》 忽略將頁(yè)面中的數(shù)字識(shí)別為電話號(hào)碼
<meta http-equiv="format-detection" content="telephone=no"/>
2》告訴設(shè)備不識(shí)別郵箱,點(diǎn)擊之后不自動(dòng)發(fā)送。
<meta http-equiv="format-detection" content="email=no"/>
6.viewport
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
initial-scale:[0.0-1.0] 定義初始縮放比例
minimum-scale:[0.0-1.0] 定義縮小最小比例
maximum-scale:[0.0-1.0] 定義放大最大比例
user-scalable: yes/no 用戶允不允許手動(dòng)縮放頁(yè)面
感謝各位的閱讀!關(guān)于“移動(dòng)端的頭部標(biāo)簽怎么用”這篇文章就分享到這里了,希望以上內(nèi)容可以對(duì)大家有一定的幫助,讓大家可以學(xué)到更多知識(shí),如果覺(jué)得文章不錯(cuò),可以把它分享出去讓更多的人看到吧!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。