愚公子
2014-12-09 10:17
<!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>Hello World</title> <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <nav class="navbar navbar-default" role="navigation"> <div> <!-- Brand and toggle get grouped for better mobile display --> <div> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span>Toggle navigation</span> <span></span> <span></span> <span></span> </button> <a href="#">某管理系统</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li><a href="#">首页 <span>(current)</span></a></li> <li> <a href="#" data-toggle="dropdown" role="button" aria-expanded="false">功能 <span></span></a> <ul role="menu"> <li role="presentation"><a href="#">业务功能</a></li> <li><a href="#">信息建立</a></li> <li><a href="#">信息查询</a></li> <li><a href="#">信息管理</a></li> <li></li> <li role="presentation"><a href="#">系统功能</a></li> <li><a href="#">设置</a></li> </ul> <li><a href="#">帮助</a></li> </li> </ul> <form class="navbar-form navbar-right" role="search"> <div> <input type="text" placeholder="用户名"> <input type="text" placeholder="密码"> </div> <button type="submit" class="btn btn-default">登录</button> </form> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="http://cdn.bootcss.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
地址前应该加 http: 否知地址无效
基于bootstrap的网页开发
187669 学习 · 734 问题
相似问题
回答 1
回答 3
回答 1
回答 1
回答 2