手机站meta标签

jianfly.com 2019-01-31 1225次浏览

<meta name="apple-touch-fullscreen" content="YES">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="pragma" content="no-cache">
<meta name="viewport" content="width=640,user-scalable=no, target-densitydpi=device-dpi">

640可以自定义,一般写成设备宽度device-width

<meta name="viewport" content="width=device-width,user-scalable=no, target-densitydpi=device-dpi">