zoukankan      html  css  js  c++  java
  • Bootstrap历练实例:标签页内的下拉菜单

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Bootstrap历练实例:标签页内的下拉菜单</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="stylesheet" href="bootstrap-3.3.5-dist/css/bootstrap.min.css" />
    </head>
    <body>
    <div class="container">
    <h2>标签页内的下拉菜单</h2>
    <ul class="nav nav-tabs">
    <li><a href="#">Html5</a></li>
    <li><a href="#">Css3</a></li>
    <li class="dropdown">
    <a href="#" id="dLabel" class="dropdown-toggle" data-toggle="dropdown">
    Web前端
    <span class="caret"></span>
    </a>
    <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">Html5</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">Css3</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">JavaScript</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">jQuery</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">jQueryUI</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">Bootstrap</a>
    </li>
    <li class="divider"></li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">C#.Net</a>
    </li>
    <li role="presentation">
    <a role="menuitem" href="#" tabindex="-1">MsSql</a>
    </li>
    </ul>
    </li>
    <li><a href="#">C#.Net</a></li>
    </ul>
    </div>

    <script src="jQuery/jquery-2.1.4.js"></script>
    <script src="bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
    </body>
    </html>

  • 相关阅读:
    C++之private虚函数
    图的遍历DFS与BFS(邻接表)
    拓扑排序(邻接矩阵)
    paypal Encryption 支付编程全解
    JAVA 正则表达式 分组
    正则表达式 <A HREF>
    Linux 逻辑卷管理 实例
    LINUX命令笔记(2)
    哀悼日:快速设置黑白页面
    XEN笔记
  • 原文地址:https://www.cnblogs.com/melao2006/p/4992840.html
Copyright © 2011-2022 走看看