移動端常見問題及解決方案
阿新 • • 發佈:2017-05-31
ont 方案 不同 頁面 initial sca 刷新 detect 編碼
-
H5頁面窗口自動調整到設備寬度,並禁止用戶縮放頁面 <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
-
忽略將頁面中的數字識別為電話號碼 <meta name="format-detection" content="telephone=no" />
-
忽略Android平臺中對郵箱地址的識別 <meta name="format-detection" content="email=no" />
-
charset
屬性是用來指定頁面內容的編碼格式 <meta charset="UTF-8" /> -
描述(descriptions)
meta
標簽是最常用的 <meta name="description" content="內容" /> -
使用
meta
標簽來設置頁面的作者(author)<meta name="author" content="內容" /> meta
標簽可以用作HTTP頭部的某些作用,例如重定向和刷新 <meta http-equiv="refresh" content="5;url=http://www.sitepoint.com/" />(centent
移動端常見問題及解決方案