zoukankan      html  css  js  c++  java
  • Bootstrap tab

    <!DOCTYPE html>
    <html>
        <head>
            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=edge">
            <meta name="viewport" content="width=device-width, initial-scale=1">
    
            <title>bootstrap实战页面</title>
            <link href="css/bootstrap.min.css" type="text/css" rel="stylesheet">
    
        </head>
        <body>
    
            <ul class="nav nav-tabs">
                <li class="active"><a href="#tab1" data-toggle="tab">标签1</a></li>
                <li><a href="#tab2" data-toggle="tab">标签2</a></li>
                <li><a href="#tab3" data-toggle="tab">标签3</a></li>
                <li><a href="#tab4" data-toggle="tab">标签4</a></li>
            </ul>
    
            <div class="tab-content">
                <div class="tab-pane active" id="tab1">这是标签1</div>
                <div class="tab-pane" id="tab2">这是标签2</div>
                <div class="tab-pane" id="tab3">这是标签3</div>
                <div class="tab-pane" id="tab4">这是标签4</div>
            </div>
            <script src="js/jquery.js"></script>
            <script src="js/bootstrap.js"></script>
        </body>
    </html>

    摘自Bootstrap 实战 Kindle 版本.

    IDE是HBuilder.

  • 相关阅读:
    Sql Server增删改查字段的语法
    Django-2
    Django-1
    Django自学历程
    前端之bootstrap框架
    前端之JQuery
    前端之DOM
    前端之BOM
    前端之JavaScript
    前端之css
  • 原文地址:https://www.cnblogs.com/Montauk/p/10051303.html
Copyright © 2011-2022 走看看