html 标准文档结构

PC版

<!DOCTYPE html>
<html>
<head>
    <!-- 国际统一字符编码集一定要写在最前面 -->
    <meta charset="UTF-8">
    <!-- 解决浏览器兼容,以webkit内核解析,ie 以最高内核解析或以谷歌内核 -->
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>Text</title>
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json">
    <meta name="keywords" content="text"/>
    <meta name="description" content="text"/>
    <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"/>
</head>
<body>
<div id="root"></div>
</body>
</html>

H5版

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>Text</title>
    <link rel="manifest" href="%PUBLIC_URL%/manifest.json">
    <meta name="keywords" content="text"/>
    <meta name="description" content="text"/>
    <link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"/>
    <!-- m 站 start -->
    <meta name="viewport" content="initial-scale=1,width=device-width,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="address=no">
    <!-- m 站 end -->
</head>
<body class="body">
<div id="root"></div>
</body>
</html>