开始 - Get Start

作者: 勤劳的悄悄 | 来源:发表于2016-03-22 15:47 被阅读279次

    基本 HTML 文档

    <!DOCTYPE html>
    
    <html>
    
    <head>
        <meta charset="utf-8">
        <title>基本 HTML 文档</title>
        <meta name="viewport" content="width=device-width, initial-scale=1">
    </head>
    
    <body>
        <h1>Hello, world!</h1>
    </body>
    
    </html>
    

    基于 Bootstrap 的文档模板

    <!DOCTYPE html>
    
    <html lang="zh-CN">
    
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
    
        <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
        <title>Bootstrap 模板</title>
    
        <!-- Bootstrap -->
        <link href="bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet" type="text/css">
        <link href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
    
        <!-- HTML5 兼容 -->
        <!--[if lt IE 9]>
            <script src="bower_components/html5shiv/dist/html5shiv.min.js"></script>
            <script src="bower_components/respond/dest/respond.min.js"></script>
        <![endif]-->
    </head>
    
    <body>
    
        <h1>世界你好!</h1>
    
    
        <!-- jQuery -->
        <script src="bower_components/jquery/dist/jquery.min.js"></script>
        <script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    </body>
    
    </html>
    
    01.PNG

    相关文章

      网友评论

        本文标题:开始 - Get Start

        本文链接:https://www.haomeiwen.com/subject/vrkllttx.html