响应式网页Html5基本模板架构

个人经常使用结构如下:

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <!--[if lt IE 9]>
        <script src="js/html5shiv.js"></script>
  <![endif]-->
    <title>Title</title>
</head>
<body>

</body>
</html>

附注:HTML5 Shiv(https://github.com/aFarkas/html5shiv

Modernizr(http://modernizr.com/

[乐于学习,勤于思考] - wrox.org & baidu.com.ru - 本站原创,转载请注明出处!

Add a Comment

Your email address will not be published. Required fields are marked *