webapp中的meta

<!--开发后删除-->
<meta http-equiv="Pragma" name="no-store" /><!--必须联网才可以访问-->
<meta http-equiv="Cache-Control" name="no-store" /><!--浏览器缓存-->
<meta http-equiv="refresh" content="3" /><!--在3秒钟后刷新-->
<!--开发后删除-->
<meta http-equiv="window-target" content="_top" /> <!--防止别人在框架里调用自己的页面-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="HandheldFriendly" content="true" />

<!--搜索引擎抓取-->
<meta name="robots" content="index,follow"/>
<meta name ="viewport" content ="initial-scale=1.0,maximum-scale=1,user-scalable=no">
<!--是否启用 WebApp 全屏模式,删除苹果默认的工具栏和菜单栏-->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!--添加智能 App 广告条 Smart App Banner(iOS 6+ Safari)-->
<meta name="apple-itunes-app" content="app-id=myAppStoreID,affiliate-data=myAffiliateData,app-argument=myURL"> 
<!--设置苹果工具栏颜色-->
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<!--忽略页面中的数字识别为电话,忽略email识别-->
<meta content="telephone=no" name="format-detection" />
<!--启用360浏览器的极速模式(webkit)-->
<meta name="renderer" content="webkit">
<!--UC强制竖屏-->
<meta name="screen-orientation" content="portrait">
<!--UC强制全屏-->
<meta name="full-screen" content="yes">
<!--QQ强制竖屏-->
<meta name="x5-orientation" content="portrait">
<!--QQ强制全屏-->
<meta name="x5-fullscreen" content="true">
<!--UC应用模式-->
<meta name="browsermode" content="application">
<!--windows phone 点击无高光-->
<meta name="msapplication-tap-highlight" content="no">
<!--iOS 图标:iPhone 和 iTouch,默认 57x57 像素,必须有-->
<link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-57x57-precomposed.png"/>
<!--Retina iPhone 和 Retina iTouch,114x114 像素,可以没有,但推荐有-->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114-precomposed.png"/>
<!--Retina iPad,144x144 像素,可以没有,但推荐有-->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144-precomposed.png"/>
<!--添加 RSS 订阅-->
<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss.xml"/>
<!--添加 favicon icon-->
<link rel="shortcut icon" type="image/ico" href="/favicon.ico"/>
<!--去除Android平台中对邮箱地址的识别-->
<meta content="email=no" name="format-detection" />

<!-- 启用 WebApp 全屏模式 -->

 

<meta name="apple-mobile-web-app-capable" content="yes" /> 

<!--隐藏状态栏/设置状态栏颜色:只有在开启WebApp全屏模式时才生效.content的值为default | black | black-translucent -->

 

<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

<!--添加到主屏后的标题-->

 

<meta name="apple-mobile-web-app-title" content="标题">

 <!-- Windows 8 磁贴颜色 -->

<meta name="msapplication-TileColor" content="#000"/>

<!-- Windows 8 磁贴图标 -->
<meta name="msapplication-TileImage" content="icon.png"/> 

<!--站点适配:主要用于PC-手机页的对应关系.[wml|xhtml|html5]根据手机页的协议语言,选择其中一种;url="url" 后者代表当前PC页所对应的手机页URL,两者必须是一一对应关系-->

<meta name="mobile-agent"content="format=[wml|xhtml|html5]; url=url">

转载于:https://www.cnblogs.com/bunny8/p/5150923.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值