移动端头部meta、link书写比较好的案例

<!DOCTYPE html>
 <!--[if lt IE 7 ]><html class="oldie ie ie6"> <![endif]-->
 <!--[if IE 7 ]><html class="oldie ie ie7"> <![endif]-->
 <!--[if IE 8 ]><html class="ie ie8"> <![endif]-->
 <!--[if (gte IE 9)|!(IE)]><!-->
 <html>
 <!--<![endif]-->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 <title>展示</title>
 <meta name="keywords" content="3D虚拟展示" />
 <meta name="description" content="实用的互联网产品。" />
 <meta name="title" content="有限公司" />
 <meta name="author" content="2014-06" />
 <meta name="Copyright" content="2014" />
 <!-- 让IE浏览器用最高级内核渲染页面 还有用 Chrome 框架的页面用webkit 内核
 ================================================== -->
 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
 <!-- IOS6全屏 Chrome高版本全屏
 ================================================== -->
 <meta name="apple-mobile-web-app-capable" content="yes">
 <meta name="mobile-web-app-capable" content="yes">
 <!-- 让360双核浏览器用webkit内核渲染页面
 ================================================== -->
 <meta name="renderer" content="webkit">
 <!-- Mobile Specific Metas
 ================================================== -->
 <!-- !!!注意 minimal-ui 是IOS7.1的新属性,最小化浏览器UI -->
 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
 <meta name="format-detection" content="telephone=no">
 <!-- CSS
 ================================================== -->
 <link href="/css/reset.css"rel="stylesheet" type="text/css">
 <link href="/css/magicwall.css"rel="stylesheet" type="text/css">
 <link href="/css/jquery.gridster.css"rel="stylesheet" type="text/css">
 <link href="/css/case.css"rel="stylesheet" type="text/css">
 <link href="/css/case_1280.css"rel="stylesheet" type="text/css">
 <link href="/css/case_1024.css"rel="stylesheet" type="text/css">
 <link href="/css/case_640.css"rel="stylesheet" type="text/css">
 <link href="/css/case_320.css"rel="stylesheet" type="text/css">
 <link href="/css/style_retina.css"rel="stylesheet" type="text/css">
  
 <!--[if lt IE 9]>
 <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>
 <![endif]-->
  
 <!-- Favicons
 ================================================== -->
 <link rel="shortcut icon" href="favicon.ico">
 <!-- Android 主屏图标
 ================================================== -->
 <link rel="icon" sizes="196x196"href="/images/apple-touch-icon-152x152.png">
 <!-- IOS 主屏图标
 ================================================== -->
 <link rel="apple-touch-icon-precomposed" href="/images/apple-touch-icon-76x76.png">
 <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/images/apple-touch-icon-76x76.png">
 <link rel="apple-touch-icon-precomposed" sizes="120x120" href="/images/apple-touch-icon-120x120.png">
 <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/images/apple-touch-icon-152x152.png">
  
  
 <!-- <link rel="apple-touch-startup-image" href="/startup-748x1024.jpg"
 media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape)" >
 <link rel="apple-touch-startup-image" href="/startup-768x1004.jpg"
 media="screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait)" > -->
  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值