移動(dòng)設(shè)備web開(kāi)發(fā)關(guān)于html的head寫(xiě)法

字號(hào):


    代碼如下:
    <head>
    <metahttp-equiv=content-typecontent=text/html;charset=utf-8>
    <metaname=viewportcontent=width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no>
    <metaname=mobileoptimizedcontent=320>
    <linkrel=stylesheethref=../css/bootstrap.min.css>
    <!--<linktype=text/cssrel=stylesheethref=../css/mastercontrol.css>-->
    <scriptsrc=../js/jquery-2.1.0.min.js></script>
    <scriptsrc=../js/bootstrap.min.js></script>
    <scripttype=text/javascriptsrc=../js/pushmsg.jscharset=utf-8></script>
    <!--<linkrel=shortcuticontype=image/x-iconhref=img/xian.png/>-->
    <title>接收推送消息</title>
    <style>
    html
    {
    font-size:62.5%;/*10÷16×100%=62.5%*/
    }
    </style>
    </head>