|
这篇文章主要介绍了移动设备web开发关于html的head写法,需要的朋友可以参考下
复制代码代码如下: <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"> <meta name="MobileOptimized" content="320"> <link rel="stylesheet" href="../css/bootstrap.min.css"> <!-- <link type="text/css" rel="stylesheet" href="../css/masterControl.css">--> <script src="../js/jquery-2.1.0.min.js"></script> <script src="../js/bootstrap.min.js"></script> <script type="text/javascript" src="../js/pushMsg.js"charset="utf-8"></script> <!--<link rel="shortcut icon" type="image/x-icon" href="img/xian.png" />--> <title>接收推送消息</title> <style> html { font-size: 62.5%;/*10 ÷ 16 × 100% = 62.5%*/ } </style> </head>
|
|