头部 meta 设置
来源:互联网 发布:linux 安全扫描工具 编辑:程序博客网 时间:2024/05/18 02:08
<!-- 启用360浏览器的极速模式(webkit) -->
<meta name="renderer" content="webkit">
<!-- 避免IE使用兼容模式 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- 针对手持设备优化,主要是针对一些老的不识别viewport的浏览器,比如黑莓 -->
<meta name="HandheldFriendly" content="true">
<!-- 微软的老式浏览器 -->
<meta name="MobileOptimized" content="320">
<!-- uc强制竖屏 -->
<meta name="screen-orientation" content="portrait">
<!-- QQ强制竖屏 -->
<meta name="x5-orientation" content="portrait">
<!-- UC强制全屏 -->
<meta name="full-screen" content="yes">
<!-- QQ强制全屏 -->
<meta name="x5-fullscreen" content="true">
<!-- UC应用模式 -->
<meta name="browsermode" content="application">
<!-- QQ应用模式 -->
<meta name="x5-page-mode" content="app">
<!-- windows phone 点击无高光 -->
<meta name="msapplication-tap-highlight" content="no">
<!-- 禁止数字识自动别为电话号码 -->
<meta name="format-detection" content="telephone=no" />
<!-- 禁止识别邮箱 -->
<meta name="format-detection" content="email=no" />
< link rel= "apple-touch-icon" sizes= "76x76" href= "touch-icon-ipad.png">
如果 apple-mobile-web-app-capable 设置为 yes 了,
那么在苹果机的safari上可以通过添加到主屏按钮将网站添加到主屏幕上。
<meta name="renderer" content="webkit">
<!-- 避免IE使用兼容模式 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- 针对手持设备优化,主要是针对一些老的不识别viewport的浏览器,比如黑莓 -->
<meta name="HandheldFriendly" content="true">
<!-- 微软的老式浏览器 -->
<meta name="MobileOptimized" content="320">
<!-- uc强制竖屏 -->
<meta name="screen-orientation" content="portrait">
<!-- QQ强制竖屏 -->
<meta name="x5-orientation" content="portrait">
<!-- UC强制全屏 -->
<meta name="full-screen" content="yes">
<!-- QQ强制全屏 -->
<meta name="x5-fullscreen" content="true">
<!-- UC应用模式 -->
<meta name="browsermode" content="application">
<!-- QQ应用模式 -->
<meta name="x5-page-mode" content="app">
<!-- windows phone 点击无高光 -->
<meta name="msapplication-tap-highlight" content="no">
<!-- 禁止数字识自动别为电话号码 -->
<meta name="format-detection" content="telephone=no" />
<!-- 禁止识别邮箱 -->
<meta name="format-detection" content="email=no" />
< link rel= "apple-touch-icon" sizes= "76x76" href= "touch-icon-ipad.png">
如果 apple-mobile-web-app-capable 设置为 yes 了,
那么在苹果机的safari上可以通过添加到主屏按钮将网站添加到主屏幕上。
而设置相应 apple-touch-icon 标签,则添加到主屏上的图标就会使用我们指定的图片。
0 0
- 头部 meta 设置
- 。网页头部META代码
- meta头部标签
- 网页头部meta标签
- HTML5头部meta整理
- meta 头部信息
- html头部标签meta
- 网页头部标签meta详解
- 网页头部meta系列用法
- 网页头部<meta>系列用法.
- html头部meta标签详解
- HTML5头部——meta
- 详解网页头部SEO优化Meta标签
- 页面的头部标记2(META)
- 头部标记中meta关键词的用法
- <meta>头部标签 定义网页属性
- 移动前端头部标签(HTML5 head meta)
- HTML 常用头部标签(meta)
- Hive SQL的编译过程
- 73.Docker的中级使用:服务和集群
- iostat
- 使用rman convert和TTS跨平台数据库迁移
- 跌跌撞撞的择业到Java小白学习
- 头部 meta 设置
- 使用intellij的idea集成开发工具中的git插件
- 强化学习系列<3>、Sarsa
- js 遍历数组
- 啥是Document类型
- Hexo博客主题应用
- linux sed 替换 与 grep查找
- eureka入门
- 4822: [Cqoi2017]老C的任务